ng-plural-form

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i ng-plural-form

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • asleepwalker