What is feature modules?



What is feature modules?..

Answer / Kanhaiya Lal

Feature Modules in Angular are self-contained modules that represent a part of the application's functionality. They can be shared across multiple applications and help keep the code organized, testable, and reusable.nnTo create a Feature Module, you can use the `@NgModule` decorator just like with regular modules, but instead of declaring components, services, etc., directly in the `imports` array, you should declare the feature module itself.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How can you bypass sanitation in angular and why would you do so?

1 Answers  


What is @viewchild in angular?

1 Answers  


Explain the steps for creating a services in angular 2?

1 Answers  


What are observables in angular?

1 Answers  


How to create custom form validations in angular?

1 Answers  


Where is angular used?

1 Answers  


What are the uses of angularjs?

1 Answers  


What is routerstatesnapshot in angular?

1 Answers  


What is the use of ng-cloak directive in angularjs?

1 Answers  


What is router-link directive in angular 2?

1 Answers  


What is the digest cycle in angularjs?

1 Answers  


Explain the use of @injectable()?

1 Answers  


Categories