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

View File

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