An Angular wrapper for Underscore
1 person uses it
Author: 1407863?v=2 nwhite89

Built with Grunt Build Status devDependency Status


This is a wrapper for the utility library Underscore for Angular JS. One aim for this project is to ensure Underscore doesn't have to be left on the window, and we use Underscore with Angular, in the normal depenedency injection manner.


bower install ng-underscore

After loading Angular

<script src="ng-underscore.min.js"></script>

Add the module as a dependency to your app

Use it within a controller


To help us develop this module, we are using Grunt some tasks that may be helpful for you to know about are:


This command will run JSHint and JSCS testing JS Files (note files within build) are not tested, it will also run your local build of the module with all of the Karma tests:

grunt test it can also be run by using npm test


This command will build the module, run it through ngMin and then create a minified version of the module, ready for distribution:

grunt build


This command will build the module initially and then run the test suite. Testing with JSHint, JSCS and Karma:

grunt dist

comments powered by Disqus
This page was last updated about 4 years ago.