contains in angular interpolation code example
Example: ? operator in angular interpolations
{{element.source == 1 ? 'upwork' : (element.source == 2 ? 'refer from friend' : '')}}
{{element.source == 1 ? 'upwork' : (element.source == 2 ? 'refer from friend' : '')}}