ng-plural-form
v1.0.0
Published
Angular filter to display correct grammatical case for word's plural form in Slavic languages
Downloads
18
Maintainers
Readme
#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.