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