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>
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.119.148