title: Angularjs filter and select all checkbox
body: <p>I have an array of items I am displaying with </p>
  
  <pre><code>&lt;tr ng-repeat="i in items | filter:search_text" ...&gt;
  </code></pre>
  
  <p>the items have a check box that denotes "selected" or not.
  how can I know which items are displayed by the filter when I need to do something like call a delete function that will delete all selected items ?</p>
  
  <p>Items which have been selected (checked in the checkbox) and then hidden by filtering are still selected. I need a way to know which item is on screen at the moment.</p>