Skip to content
Related Articles

Related Articles

Web technologies Questions | AngularJS Quiz | Set-2 | Question 14

View Discussion
Improve Article
Save Article
  • Last Updated : 20 Sep, 2021

Which of the below decorator is used for configuring your module class?

(A)

@NgApp

(B)

@NgModule

(C)

Both of the above

(D)

@NgImport


Answer: (B)

Explanation:

@NgModule is used to configure the module class in angular js. It helps the injector and compiler to organize together. This class is marked by the @NgModules. It is also used to add the service provider to dependency injection.


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!