In AngularJS, __________ is used in controllers to create a two-way data binding.

  • ng-bind
  • ng-bind-model
  • ng-data
  • ng-model
In AngularJS, ng-model is used in controllers to create a two-way data binding. Two-way data binding allows changes in the model to automatically update the view and vice versa. By using ng-model, developers can easily synchronize the data between the controller and the view, enhancing the responsiveness of the application.
Add your answer
Loading...

Leave a comment

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