Suppose I am doing this
<div ng-repeat="order in orders">
<p>order.productname</p>
<p>order.productvalue</p>
</div>
Is there a way to calculate the total of all the productvalues in the view itself, or do I need to create a function in the controller?Can anyone point me to the right direction please? thanks
$scope