Given this example can someone explain to me why angularjs makes always 11 iterations for each $scope function?
Because of that it reaches digest loop limit.
http://plnkr.co/edit/Cy4pytYGH1zLIvvpJIBv?p=preview
Thanks in advance.
edited
$scope.ttotal = function() {
var ttotal = 0;
angular.forEach($scope.formData.items, function(item) {
... code here ...
});
}