Q. Which Angular decorator is used to get a reference to a template element inside a component class?
β
Correct Answer: (A)
@ViewChild
Explanation: @ViewChild allows querying a template element or directive.