Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Why should a function call be avoided in an Angular template expression?

  1. A It is not supported syntactically
  2. B It is re-evaluated on every change detection cycle, potentially hundreds of times a second
  3. C It breaks type checking
  4. D It prevents lazy loading
Answer

It is re-evaluated on every change detection cycle, potentially hundreds of times a second

Precompute the value in the component or use a pure pipe. This is one of the most common causes of poor Angular runtime performance.

All Angular MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as