O'Reilly logo

Learning Angular for .NET Developers by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Pipe with parameters

We can pass parameters to a pipe followed by a colon (:) symbol, as follows:

<p>Price of the book is {{ price | currency:'USD' }} </p>

Multiple inputs to a pipe can be added by separating the values by (:), as shown:

<li *ngFor="let book of books | slice:1:3">{{i}}</li>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required