Docs

Angular Filters

This repository includes a few filters that you can use.
These filters are available in angular/filters/ folder.

FilterUse Case
capitalizeCapitalizes the first character of each word and lowers the rest of the word.
humanReadableconverts tokens into human readable output. e.g.: {{ 'contact_us' | humanReadable }} output: Contact Us
truncateCharactersTruncates characters according to specified length.
truncateWordsTruncates characters according to specified word count
trustHtmlAlias to $sce.trustAsHtml. Only use it if you know what you're doing.
ucfirstEquivalent to PHP's ucfirst