Q. Which Angular directive is used for two-way data binding?

  • (A) [(ngModel)]
  • (B) [value]
  • (C) (input)
  • (D) *ngIf
πŸ’¬ Discuss
βœ… Correct Answer: (A) [(ngModel)]
Explanation: The `[(ngModel)]` directive enables two-way data binding between the input field and the component.
Explanation by: Mr. Dubey
The `[(ngModel)]` directive enables two-way data binding between the input field and the component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
79
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate