|
|
8 anni fa | |
|---|---|---|
| .. | ||
| example | 8 anni fa | |
| src | 8 anni fa | |
| .bower.json | 8 anni fa | |
| .gitignore | 8 anni fa | |
| LICENSE | 8 anni fa | |
| README.md | 8 anni fa | |
| bower.json | 8 anni fa | |
| package.json | 8 anni fa | |
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="bower_components/humanize/humanize.js"></script>
<script src="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.