docs(common): migrate @howToUse tags (#23062)

In pipes the content of these tags is now generated automatically.
In directives these tags have been converted to `@usageNotes` tags,
but in the future me might find a way to generate that usage too.

PR Close #23062
This commit is contained in:
Pete Bacon Darwin
2018-03-29 11:08:56 +01:00
committed by Igor Minar
parent 5db9ab12c0
commit 46ba7f69dd
14 changed files with 8 additions and 21 deletions

View File

@ -18,7 +18,7 @@ import {SwitchView} from './ng_switch';
*
* @whatItDoes Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.
*
* @howToUse
* @usageNotes
* ```
* <some-element [ngPlural]="value">
* <ng-template ngPluralCase="=0">there is nothing</ng-template>
@ -86,7 +86,7 @@ export class NgPlural {
* @whatItDoes Creates a view that will be added/removed from the parent {@link NgPlural} when the
* given expression matches the plural expression according to CLDR rules.
*
* @howToUse
* @usageNotes
* ```
* <some-element [ngPlural]="value">
* <ng-template ngPluralCase="=0">...</ng-template>