title: Angular ng-repeat filter to hide elements
body: <p>I need filter for <code>ng-repeat</code>, which will hide elements.
  If  <code>$scope.selected</code> will get true, i need to hide elements when <code>select: true</code> or <code>visible: false</code></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$scope.selected = false;
  
  $scope.array = [
  {name: 'item1', select: true, visible: false},
  {name: 'item2', select: true, visible: true},
  {name: 'item3', select: false, visible: true},
  {name: 'item4', select: true, visible: false},
  {name: 'item5', select: false, visible: true},
  ]</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div ng-repeat="item in array"&gt;
   &lt;div&gt;{{item.name}}&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>