faraoman / angular-underscore-string

Underscore.string as Angular filters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Underscore.string as Angular filters