AngularJS Modules Multiple Choice Questions with answers | AngularJS Modules Objective type questions with answers
1.A module is a collection of,
- providers
- services
- directives
- All of these
Ans : 4. All of these
2. _______used to initialize an application with controller.
- Application Module.
- Controller Module
- Base Module
- NgModule
Ans : 1. Application Module
3.______used to define the controller.
- Application Module.
- Controller Module
- Base Module
- NgModule
Ans : 2. Controller Module
4._____are the closest thing in AngularJS to the main method.
- Run blocks
- Asynchronous Loading
- Creation versus Retrieval
- config block
Ans : 1. Run blocks
5._______is the code which needs to run to kickstart the application in AngularJS
- Run blocks
- Asynchronous Loading
- Creation versus Retrieval
- config block
Ans : 1. Run blocks
6.______is a way of instantiating a subset of an application to apply stimulus to it.
- Run blocks
- Asynchronous Loading
- Creation versus Retrieval
- Unit Test
Ans : 4.Unit Test
7.Each module can only be loaded_____ in AngularJS.
- twice per injector
- once per injector
- Thrice per injector
- None of these
Ans : 2.once per injector
8. The ______ property is where we define the root component of our module in AngularJS.
- HTML
- CSS
- bootstrap
- tailwind
Ans. : 3.Bootstrap