Q. How do you bind the value of an input element to a component property in two-way binding?
β
Correct Answer: (A)
Using [(ngModel)]
Explanation: [(ngModel)] provides two-way binding between input and component property.