Skip to content

sirgalleto/ngUnderscore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngUnderscore

A sexy reference to underscore.js for angular.

Installation

bower install --save ngUnderscore

Usage

angular
  .module('boolApp', ['ngUnderscore'])
  .controller('BoolController', function ($scope, _) {
      $scope.sum = _.reduce(
        _.range(10), function(sum, num){ return sum + (num * 3); }, 0
      );
  });