docs(NgPlural): fix API docs

Fixes #13786
This commit is contained in:
Victor Berchet 2017-01-05 15:29:21 -08:00 committed by Matias Niemelä
parent 78f42c7aa1
commit 5cb2008e6c
1 changed files with 5 additions and 6 deletions

View File

@ -21,10 +21,9 @@ import {SwitchView} from './ng_switch';
* @howToUse * @howToUse
* ``` * ```
* <some-element [ngPlural]="value"> * <some-element [ngPlural]="value">
* <ng-container *ngPluralCase="'=0'">there is nothing</ng-container> * <template ngPluralCase="=0">there is nothing</template>
* <ng-container *ngPluralCase="'=1'">there is one</ng-container> * <template ngPluralCase="=1">there is one</template>
* <ng-container *ngPluralCase="'few'">there are a few</ng-container> * <template ngPluralCase="few">there are a few</template>
* <ng-container *ngPluralCase="'other'">there are exactly #</ng-container>
* </some-element> * </some-element>
* ``` * ```
* *
@ -90,8 +89,8 @@ export class NgPlural {
* @howToUse * @howToUse
* ``` * ```
* <some-element [ngPlural]="value"> * <some-element [ngPlural]="value">
* <ng-container *ngPluralCase="'=0'">...</ng-container> * <template ngPluralCase="=0">...</template>
* <ng-container *ngPluralCase="'other'">...</ng-container> * <template ngPluralCase="other">...</template>
* </some-element> * </some-element>
*``` *```
* *