forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
long overdue update Closes angular#1629
- Loading branch information
Showing
2 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Pipes | ||
|
||
Pipes can be appended on the end of the expressions to translate the value to a different format. Typically used | ||
to control the stringification of numbers, dates, and other data, but can also be used for ordering, mapping, and | ||
reducing arrays. Pipes can be chained. | ||
|
||
NOTE: Pipes are known as filters in Angular v1. | ||
|
||
Pipes syntax is: | ||
|
||
``` | ||
<div class="movie-copy"> | ||
<p> | ||
{{ model.getValue('copy') | async | uppercase }} | ||
</p> | ||
<ul> | ||
<li> | ||
<b>Starring</b>: {{ model.getValue('starring') | async }} | ||
</li> | ||
<li> | ||
<b>Genres</b>: {{ model.getValue('genres') | async }} | ||
</li> | ||
<ul> | ||
</div> | ||
``` | ||
|
||
|