diskShop.controller('diskBasketCtrl', function($scope) {
$scope.baskets = orderList;
$scope.totalPrice = function() {
var total = 0;
angular.forEach(baskets, function(baskets) {
total += baskets.Price;
});
return total;
}
});
{{totalPrice | currency}}