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