AngularJS's _________ directive is used to bind HTML elements to data in the model.

  • ng-bind
  • ng-bind-model
  • ng-data
  • ng-model
AngularJS's ng-model directive is used to bind HTML elements to data in the model. It creates a two-way data binding, allowing changes in the view to automatically update the model and vice versa. Understanding and using ng-model is fundamental for handling user input and updating data dynamically in AngularJS applications.
Add your answer
Loading...

Leave a comment

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