Calcuate Sum in ng-repeat when Value Change
问题 When Value Changes i want to Calcualte the Sum <tr ng-repeat="act in ctrl.otsact.tests" ng-if="ctrl.editToggle"> <td> <md-input-container> <input type="text" ng-model="act.test_date" class="dateField" aria-label="Test Date"> </md-input-container> </td> <td ng-repeat="sub in act.subjects" > <md-input-container> <input type="number" ng-model="sub.score" aria-label="Score"> </md-input-container> </td> <td class="composite"> 100 </td> <td><span ng-click="ctrl.removeOTSACT(act.id)"> x </span></td>