1.0.0 • Published 7 years ago

ng-plural-form v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

#ngPluralForm

Angular filter to display correct grammatical case for word's plural form in Slavic languages.

##Usage

In HTML:

{{ number | pluralForm: ['штука', 'штуки', 'штук'] }}

In JavaScript:

$filter('pluralForm')(number, ['штука', 'штуки', 'штук']);

Demo

##License

The MIT License.