Underscore.string as Angular filters
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.jshintrc
angular-underscore-string.js
bower.json
readme.md

readme.md

angular-underscore-string

Underscore.string as Angular filters

Assumes Underscore.string (>= v3.x) has been added to the global scope.

Examples:

{{ name | s: 'swapCase' }}
{{ separator | s: 'join': ['foo', 'bar'] }}

Install

bower install angular-underscore-string

Usage

Add underscore.string as a module dependency, e.g.:

angular.module('App', ['underscore.string']);

Author

© 2013 Tom Vincent http://tlvince.com/contact

License

Released under the MIT License.