Ng pour tuyau conditionnel angulaire

//use ternary operator on your list and apply the pipes you need
*ngFor="let a of (condition ? (arr | pipe) : (arr | pipe2))"
Selfish Spider