What is Feature Modules in angular JS ? Types of Feature Modules - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
What is Feature Modules in angular JS ? Types of Feature Modules

What is Feature Modules in angular JS ? Types of Feature Modules

Summary: this tutorial will introduce you to Feature Modules in angularJS and Types of Feature Modules 
Introduction to Feature Modules in angularJS
 A feature module is an organizational best practice, as opposed to a concept of the core Angular API. A feature module delivers a cohesive set of functionality focused on a specific application need such as a user workflow, routing, or forms. While you can do everything within the root module, feature modules help you partition the app into focused areas. A feature module collaborates with the root module and with other modules through the services it provides and the components, directives, and pipes.
Types of Feature Modules 
There are five general categories of feature modules which tend to fall into the following groups:
  • Domain feature modules.
  • Routed feature modules.
  • Routing modules.
  • Service feature modules.
  • Widget feature modules.

The following table summarizes the key characteristics of each feature module group.
Feature ModuleDeclarationsProvidersExportsImported by
DomainYesRareTop componentFeature, AppModule
RoutedYesRareNoNone
RoutingNoYes (Guards)RouterModuleFeature (for routing)
ServiceNoYesNoAppModule
WidgetYesRareYesFeature

If Was this tutorial helpful? so please share by social media 




About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.