angularjs-humanize is a thin wrapper around the humanize library, providing a variety of Angular filters which apply transformations to make data more human-readable.
Install the library via
bower install -S angularjs-humanize
Add it to your index.html
:
<script src="https://github.com/saymedia/angularjs-humanize/raw/master/bower_components/humanize/humanize.js"></script>
<script src="https://github.com/saymedia/angularjs-humanize/raw/master/bower_components/angularjs-humanize/src/angular-humanize.js"></script>
Add it as a dependency to your angularjs project:
var app = angular.module("myApp", ['angular-humanize']);
angularjs-humanize currently supports the following filters, mapping to the humanize functions of the same name:
Copyright © 2014 Say Media Ltd. All Rights Reserved. See the LICENSE file for distribution terms.