From dd19cdb304f596542d54da75212e011fac15062a Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 1 Mar 2017 09:17:48 -0800 Subject: [PATCH] docs(glossary): Pipes entry update (#3312) Change Pipe glossary entry; it used to suggested that one could implemented a custom pipe by annotating a function with `@Pipe`. --- public/docs/ts/latest/glossary.jade | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/public/docs/ts/latest/glossary.jade b/public/docs/ts/latest/glossary.jade index 9491f2e35d..8f07095f65 100644 --- a/public/docs/ts/latest/glossary.jade +++ b/public/docs/ts/latest/glossary.jade @@ -518,16 +518,15 @@ a#N .l-sub-section :marked An Angular pipe is a function that transforms input values to output values for - display in a [view](#view). Use the `!{_at}Pipe` !{_decoratorLink} - to associate the pipe function with a name. You then use that - name in your HTML to declaratively transform values on screen. - + display in a [view](#view). Here's an example that uses the built-in `currency` pipe to display a numeric value in the local currency. code-example(language="html" escape="html"). {{product.price | currency}} + :marked + You can also write your own custom pipes. Read more in the page on [pipes](!{docsLatest}/guide/pipes.html). :marked