Q. What Angular decorator is used to get a reference to a child component or DOM element?
β
Correct Answer: (A)
@ViewChild
Explanation: @ViewChild retrieves references from the template.