A

Admin • 830.13K Points
Coach

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

  • (A) [(ngModel)]
  • (B) [ngModel]
  • (C) (ngModel)
  • (D) {{ ngModel }}
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
[(ngModel)] syntax binds property and event together for two-way binding.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.