It seems that I am doing something 
wrong https://jsfiddle.net/defuseer/mrp3qxgq/68/

On Monday, March 13, 2017 at 5:32:06 PM UTC+1, Sander Elias wrote:
>
> you should be able to loop over the resulting model, and do some summing.
>
> something like:
>
> let summedTime = $scope.data.model.reduce((c,p) => c+=p.task_time, 0)
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to