A sexy reference to underscore.js for angular.
bower install --save ngUnderscore
angular
.module('boolApp', ['ngUnderscore'])
.controller('BoolController', function ($scope, _) {
$scope.sum = _.reduce(
_.range(10), function(sum, num){ return sum + (num * 3); }, 0
);
});