angular ngfor conditional pipe

Solutions on MaxInterview for angular ngfor conditional pipe by the best coders in the world

showing results for - "angular ngfor conditional pipe"
Milton
01 Jun 2019
1//use ternary operator on your list and apply the pipes you need
2*ngFor="let a of (condition ? (arr | pipe) : (arr | pipe2))"