In AngularJS, the __________ handles business logic and data retrieval, which is part of the MVC model.

  • Controller
  • Directive
  • Factory
  • Service
In AngularJS, the Controller handles business logic and data retrieval as part of the MVC (Model-View-Controller) model. The Controller is responsible for interacting with the Model (managing application data) and updating the View (handling user interface) based on changes in the Model. Understanding the role of the Controller is crucial for building dynamic and responsive AngularJS applications.
Add your answer
Loading...

Leave a comment

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