Interview Questions and Answer
a. {{expression : filter1,filter2}}
b. {{expression || filter1 , filter2}}
c. {{expression | filter1 |filter2}}
d. {{expression : filter1 : filter2}}
Reveal Answer
a. Filters can take Objects as inputs.
b. Filters can take Primitive values as inputs.
c. Filters will get executed when there is a change in input.
d. Core filters in angular are not $stateful
e. All the above
Reveal Answer
a. Only assumption I is implicit
b. only assumption II is implicit.
c. Neither I nor II is implicit.
d. Either I or II is implicit.
e. Both I and II are implicit.
Reveal Answer
a. returns object.
b. returns function.
c. returns string.
d. returns nothing.
Reveal Answer
a. only one
b. two
c. atleast one
d. many
Reveal Answer
Bestdotnet google plus