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>