AngularJS filter to convert strings to lower camel case replacing non-alphanumeric characters.
npm install angular-camelize-filterAngularJS filter to convert strings to lower camel case replacing non-alphanumeric characters.
You can install the filter using Bower:
``bash`
$ bower install angular-camelize-filter
Or npm:
`bash`
$ npm install angular-camelize-filter
Then you have to include it in your HTML:
`html`
And inject the module puigcerber.camelize as a dependency of your application:
`js`
angular.module('webApp', ['puigcerber.camelize']);
You can use it like any other AngularJS filter:
` {{ input | camelize }}html`
`js``
var camelized = $filter('camelize')('angular-camelize-filter');
console.log(camelized); // angularCamelizeFilter
* capitalize:
AngularJS filter to capitalize sentences and specially team names.
* lowerize:
AngularJS filter to convert strings to lower case replacing non-alphanumeric characters.