Im new to angular and I was trying to remove some elements from table on submit..
<tr ng-repeat="val in values ">
<td ng-bind="$index"></td>
<td ng-bind="val.rec">ED1500322</td>
<td>working</td>
<td ng-bind="val.result">I am going to School</td>
<td>
<div class="radio">
<input ng-model="val.iscorrect" value="yes" type="radio" ng-change="log(val)">
<label for="opt1">yes</label>
<input ng-model="val.iscorrect" value="no" type="radio" ng-change="log(val)">
<label for="opt10">no</label>
</div>
</td>
</tr>
All the data obtained using ng-repeat and Im not sure of remove data which is obtained dynamically
I wanted to remove row if the toggle button is clicked..(to show there was some changes done)
Plunker http://plnkr.co/edit/kNJUbUBENxBc38rBg3GK?p=preview
Any help in removing data dynamically would be helpful..Thanks in advance
Copyright Notice:Content Author:「Coeus」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/37343047/angular-remove-table-row-on-submit