<tbody>
<tr ng-repeat="item in invoice.items">
<td><input type="number" ng-model="item.qty" class="form-control" /></td>
<td><input type="number" ng-model="item.price" class="form-control" /></td>
<td>{{item.qty * item.price}}</td>
</tr>
<tr>
<td><button type="button" class="btn btn-primary" ng-click="add()">Add item</button></td>
<td></td>
<td></td>
<td>Total : </td>
<td>{{total()}} €</td>
</tr>
</tbody>
Sum of ng repeat elements
..........................
$scope.total = function(){
var total = 0;
angular.forEach($scope.invoice.items, function(item){
total += item.qty * item.price;
})
return total;
}
});