diff --git a/aio/content/guide/pipes.md b/aio/content/guide/pipes.md index 0445b942f0..216d62702b 100644 --- a/aio/content/guide/pipes.md +++ b/aio/content/guide/pipes.md @@ -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`. -
@@ -222,10 +221,9 @@ Note the following:
-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.