Angular 2 Pipe under condition November 27, 2022 by Tarik You need to change the syntax a bit: {{variable.value ? (variable.text | SomePipe) : (variable.text | pipe2)}} Plunker example