Angular loop through table row and check for checked checbox
<p>I have a table that has a list from database with checkbox on each row, checkbox will used for ex. during deletion of the record.</p>

<p>So what i am trying to achieve is that when i clicked the delete button, angular will loop each row in table and check the checkbox whether is checked, if yes the please proceed to delete. Dont have any idea how to do this. Someone please give some related example.</p>

<p>Here is my code</p>

<p><strong>index.html</strong></p>

<pre><code>&lt;button class="ui red labeled icon button right floated" type="button" data-content="Delete selected item(s)" id="delete" ng-click="deleteSeleted()"&gt;&lt;i class="trash icon"&gt;&lt;/i&gt;Delete&lt;/button&gt;
&lt;div class='container-table'&gt;
 &lt;table class="ui fixed single line celled table striped sortable compact" style="width:2000px" id="mytable"&gt;
   &lt;thead&gt;
     &lt;tr&gt;
       &lt;th class="width-checkbox"&gt;&lt;input type="checkbox" ng-model="matin.selectedAll" /&gt;&lt;/th&gt;
       &lt;th class="width-120"&gt;Item&lt;/th&gt;
     &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tbody&gt;
     &lt;tr ng-repeat="x in data"&gt;
       &lt;td&gt;&lt;input type="checkbox" ng-checked="matin.selectedAll"&gt;&lt;/td&gt;
       &lt;td&gt;{{x.item}}&lt;/td&gt;
     &lt;/tr&gt;
   &lt;/tbody&gt;
 &lt;/table&gt;
&lt;/div&gt;
</code></pre>