In template-driven forms, the _____ directive is used to create two-way data bindings on an input field.

  • *ngFor
  • *ngIf
  • *ngModel
  • *ngSwitch
In template-driven forms, the *ngModel directive is used to create two-way data bindings on an input field, allowing the field to sync its value with a component property.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *