In AngularJS, __________ is used for creating reusable components that manage their own view.

  • ng-component
  • ng-controller
  • ng-model
  • ng-view
In AngularJS, the ng-component directive is used for creating reusable components that manage their own view. Components encapsulate both the template (view) and the logic (controller) associated with a specific part of the user interface. Using components enhances code organization, reusability, and maintainability in AngularJS applications.
Add your answer
Loading...

Leave a comment

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