ngPluralizeFilter2
v1.1.0
Published
Angular filter that transforms english nouns into its plural form. Originally built by mikaelharsjo, picked up by bdwellons after support stopped.
Maintainers
Readme
ngPluralizeFilter
Angular filter that transforms english nouns into its plural form.
- vogon -> vogons
- person -> people
- ox -> oxen
- cherry -> cherries
Installation
bower install ng-pluralize-filter --saveExample usage
<html ng-app="app">
<head>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/ng-pluralize-filter/ng-pluralize-filter.js"></script>
<script>
angular.module('app', ['ngPluralizeFilter']);
</script>
</head>
<body>{{'cat' | pluralize}}</body>
</html>Contributing
npm install
bower install
gulpTodo
This is a work in progress in terms of handling pluralisation edge cases. If you find any just create an issue or pull request. Thank you.
