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.
Loading...
Related Quiz
- When integrating with an external API in AngularJS, what format is typically used for data exchange?
- In AngularJS, ________ are used to deal with multiple HTTP requests to an external API asynchronously.
- Describe a scenario where improper use of dependency injection in AngularJS can lead to performance issues.
- AngularJS's __________ feature allows controllers to track changes in the model for efficient data binding.
- The __________ is a core feature of AngularJS that underpins its two-way data binding mechanism.