angular pipe conditional code example
Example: angular conditional pipe
// Use ternary operator to be able to use a pipe on a certain condition
{{variable.value ? (variable.text | SomePipe) : (variable.text | pipe2)}}
// Use ternary operator to be able to use a pipe on a certain condition
{{variable.value ? (variable.text | SomePipe) : (variable.text | pipe2)}}