A

Admin • 832.27K Points
Coach

Q. How do you create a two-way data binding in Angular?

  • (A) Using [(ngModel)] directive
  • (B) Using [value] binding
  • (C) Using (change) event
  • (D) Using @Input and @Output
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

[(ngModel)] enables two-way binding combining property and event binding.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.