docs(aio): update pipes for CLI (#19553)

This commit is contained in:
Jesús Rodríguez 2017-11-03 23:21:14 +01:00 committed by Victor Berchet
parent f7c9b941cb
commit dbec3ca716
1 changed files with 2 additions and 4 deletions

View File

@ -214,7 +214,6 @@ Note the following:
* You use your custom pipe the same way you use built-in pipes.
* You must include your pipe in the `declarations` array of the `AppModule`.
<div class="callout is-helpful">
<header>
@ -222,10 +221,9 @@ Note the following:
</header>
You must manually register custom pipes.
You must register custom pipes.
If you don't, Angular reports an error.
In the previous example, you didn't list the `DatePipe` because all
Angular built-in pipes are pre-registered.
Angular CLI's generator registers the pipe automatically.
</div>