title: How to iterate over filtered rows in Angular datatable
body: <p>Lets say, I have simple datatable</p>
  
  <pre><code>            &lt;table datatable="" dt-options="dtOptions" dt-column-defs="dtColumnDefs" class="row-border hover"&gt;
                  &lt;thead&gt;
                      &lt;th&gt;ID&lt;/th&gt;
                      &lt;th&gt;Name&lt;/th&gt;
                  &lt;/thead&gt;
                  &lt;tbody&gt;
                      &lt;tr ng-repeat"reservation in reservations"&gt;
                          &lt;td&gt;{{reservation.ID}}&lt;/td&gt;&lt;td&gt;{{reservation.name}}&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/tbody&gt;
              &lt;/table&gt;    
  </code></pre>
  
  <p>When I put some string into search box datatable is being filtered. Now I want to iterate in Angular over filtered rows and read IDs to array. How to deal with it in Angular? I can use jquery but I do not want make a mess in code.</p>