I am new to using Angular and I have been attempting to remove certain elements from a table upon submission.
<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 is fetched using ng-repeat and I am unsure how to remove dynamically obtained data.
My objective is to remove a row when a toggle button is clicked to indicate that changes have been made.
You can view the Plunker here.
Any assistance on removing data dynamically would be greatly appreciated. Thank you in advance!