What is the purpose of NgModule in Angular?

Junior Angular

Answer

NgModule groups components, directives, pipes, and services into a logical unit.

It manages imports, exports, providers, compilation context, and enables lazy loading.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice