NgPluralCase

NgPluralCase

Experimental Directive

What it does

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

How to use

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

See NgPlural for more details