{ "id": "api/common/NgPluralCase", "title": "NgPluralCase", "contents": "\n\n
\n
\n
\n \n API > @angular/common\n
\n \n
\n \n
\n

NgPluralCaselink

\n \n \n \n \n \n
\n \n \n\n
\n \n
\n

Creates a view that will be added/removed from the parent NgPlural when the\ngiven expression matches the plural expression according to CLDR rules.

\n\n \n
\n \n \n \n \n\n

NgModulelink

\n\n\n\n \n
\n

Selectorslink

\n \n \n \n
\n\n\n\n \n\n
\n

Propertieslink

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
PropertyDescription
\n \n value: string\n \n \n \n \n
\n
\n\n\n\n \n\n\n \n
\n

Descriptionlink

\n \n \n<some-element [ngPlural]=\"value\">\n <ng-template ngPluralCase=\"=0\">...</ng-template>\n <ng-template ngPluralCase=\"other\">...</ng-template>\n</some-element>\n\n

See NgPlural for more details and example.

\n\n
\n \n\n \n\n \n\n \n\n \n \n \n\n
\n
\n\n\n" }