Home »
MCQs »
AngularJS MCQs
Which is the correct syntax to define multiple filters on an expression?
42. Which is the correct syntax to define multiple filters on an expression?
- {{ expression | filter1 | filter2 | filter3 | ... }}
- {{ expression | {filter1} | {filter2} | {filter3} | ... }}
- {{ expression | {{filter1}} | {{filter2}} | {{filter3}} | ... }}
- {{ expression | filter1 , filter2 , filter3 , ... }}
Answer: A) {{ expression | filter1 | filter2 | filter3 | ... }}
Explanation:
The correct syntax to define multiple filters on an expression is: {{ expression | filter1 | filter2 | filter3 | ... }}