@@ -108,19 +108,11 @@ figure.image-display
108108+ makeExample('pipes/ts/app/app.component.html' , 'chained-birthday' )( format ="." )
109109
110110:marked
111- If we pass a parameter to a filter, we have to add parentheses
112- to help the template compiler with the evaluation order.
113- The following example displays
114- **<samp>FRIDAY, APRIL 15, 1988</samp>**
111+ This example — which displays **<samp>FRIDAY, APRIL 15, 1988</samp>** —
112+ chains the same pipes as above, but passes in a parameter to `date` as well.
115113
116114+ makeExample('pipes/ts/app/app.component.html' , 'chained-parameter-birthday' )( format ="." )
117115
118- :marked
119- We can add parentheses to alter the evaluation order or
120- to provide extra clarity:
121-
122- + makeExample('pipes/ts/app/app.component.html' , 'chained-parameter-birthday-parens' )( format ="." )
123-
124116.l-main-section
125117:marked
126118 ## Custom Pipes
@@ -465,7 +457,7 @@ a(id="no-filter-pipe")
465457
466458 The minification hazard is also compelling if less obvious. Imagine a sorting pipe applied to a list of heroes.
467459 We might sort the list by hero `name` and `planet` of origin properties something like this:
468- code-example( format = "." language ="html" )
460+ code-example( language ="html" )
469461 < !-- NOT REAL CODE! -->
470462 < div *ngFor="let hero of heroes | orderBy:'name,planet'"> < /div>
471463:marked
0 commit comments