Angular 2 Pipe under condition
<p>Is it possible in Angular 2 to apply a pipe under condition?
I would like to do something like: </p>

<pre><code>{{ variable.text | (variable.value ? SomePipe : OtherPipe) }}
</code></pre>

<p>If not, what is the preferred way to achieve this effect?</p>