Hi I have a similar problem posted in here: Angular 2 Pipe under condition
But instead of creating custom pipes, I would like to use the built in ones.
Say I have an array like this:
[{value: '1', type:'number'},{value:'1/18/2018', type: 'date'}]
and would like to use it like this assuming I'm looping through it:
{{ arr.type ? (arr.value | arr.type) : (arr.value)}}
It gives me an error of Parser Error: Missing expected )