angular-lodash-string

1.1.1 • Public • Published

angular-lodash-string

Angular Lodash provider with underscore.string filter support

a combination of the following projects: https://github.com/epeli/underscore.string/issues/285 https://github.com/tlvince/angular-underscore-string

Assumes Underscore.string (>= v2.x) and lodash have been added to the global scope.

Examples:

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

Install

(bower) bower install angular-lodash-string
(npm) npm install angular-lodash-string

Usage

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

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

Package Sidebar

Install

npm i angular-lodash-string

Weekly Downloads

3

Version

1.1.1

License

MIT

Last publish

Collaborators

  • mikeallison