A

Admin • 828.03K Points
Coach

Q. Which Angular directive is used to bind the value of an HTML element to a variable?

  • (A) ngModel
  • (B) ngIf
  • (C) ngFor
  • (D) ngClass
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
ngModel is used for two-way data binding between input elements and component variables.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.