Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit dd19cdb

Browse files
chalinjuleskremer
authored andcommitted
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`.
1 parent db26c57 commit dd19cdb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

public/docs/ts/latest/glossary.jade

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,16 +518,15 @@ a#N
518518
.l-sub-section
519519
:marked
520520
An Angular pipe is a function that transforms input values to output values for
521-
display in a [view](#view). Use the `!{_at}Pipe` !{_decoratorLink}
522-
to associate the pipe function with a name. You then use that
523-
name in your HTML to declaratively transform values on screen.
524-
521+
display in a [view](#view).
525522
Here's an example that uses the built-in `currency` pipe to display
526523
a numeric value in the local currency.
527524

528525
code-example(language="html" escape="html").
529526
<label>Price: </label>{{product.price | currency}}
527+
530528
:marked
529+
You can also write your own custom pipes.
531530
Read more in the page on [pipes](!{docsLatest}/guide/pipes.html).
532531

533532
:marked

0 commit comments

Comments
 (0)