Angular · Junior · Question 67 of 75
Why should a template call user() rather than user when user is a signal?
- ✓Correct answer: A signal is a getter function: calling it reads the value and lets Angular track the dependency
- 2Both are equivalent
- 3
userwithout parentheses converts it to a string
Explanation
Without the call, the template would show the function itself. Reading signals in templates is what lets Angular update only affected views.