A

Admin • 825.56K Points
Coach

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

  • (A) [value]="property"
  • (B) (input)="handler()"
  • (C) [(ngModel)]="property"
  • (D) {{ property }}
  • Correct Answer - Option(C)
  • Views: 11
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
Two-way data binding is achieved with the banana-in-a-box syntax [(ngModel)].

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.