Q. How do you pass data from a child component to a parent component in Angular?
β
Correct Answer: (A)
Using @Output with EventEmitter
Explanation: @Output decorator along with EventEmitter is used to send events from child to parent.