JSPM

ngPluralizeFilter2

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q5078F
  • License MIT

Angular filter that transforms english nouns into its plural form. Originally built by mikaelharsjo, picked up by bdwellons after support stopped.

Package Exports

  • ngPluralizeFilter2

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngPluralizeFilter2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ngPluralizeFilter

Travis

Angular filter that transforms english nouns into its plural form.

  • vogon -> vogons
  • person -> people
  • ox -> oxen
  • cherry -> cherries

Installation

bower install ng-pluralize-filter --save

Example 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
gulp

Todo

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.