liveBook · Manning

Angular module

An Angular module is an NgModule-based application unit that groups and configures declarations, imports, providers, and exports.

How 2 Manning books explain it

Pro Angular 16

A feature module is an Angular module that groups the components, services, and dependencies associated with a particular application feature.

How it is used
Groups related functionality into manageable units while the root module configures the application as a whole.
How deep it goes
Works through service, utility, component, and on-demand modules, including decorator properties, exports, root imports, and a provider-scope pitfall.
Examples
Uses a service-only data-model module, a shared utility module, a component module, and an on-demand administration module.
What you can do after
Build it from scratch by grouping related features, registering dependencies and services, exposing selected components, and importing the module where needed.

Read how Pro Angular 16 explains Angular module →

Modern Angular

An NgModule is an Angular mechanism for grouping declarations, imports, providers, and exports into a module-based application unit.

How it is used
Organizes declarations, imports, providers, exports, and bootstrap in legacy module-based Angular applications.
How deep it goes
Explains NgModule wiring and dependency indirection, then gives manual, SCAM-assisted, and schematic migration procedures.
Examples
Uses AppModule bootstrap code and an HRMS employee-list and employee-tile feature module.
What you can do after
Operate/configure an incremental migration from NgModules to standalone APIs, including the Angular v16 schematic workflow.

Read how Modern Angular explains Angular module →

Also covered in

What to know first

Related concepts

Questions about Angular module

What is Angular module?

An Angular module is an NgModule-based application unit that groups and configures declarations, imports, providers, and exports.

Which Manning books explain Angular module?

Pro Angular 16 and Modern Angular.

What should I know before learning Angular module?

Manning books that teach Angular module usually introduce directive and pipe first.

What is the difference between Angular module and module?

An Angular module is an NgModule-based application unit that groups and configures declarations, imports, providers, and exports. A module is a cohesive unit of code or computation that groups related functionality within a larger system and defines a scope or boundary for organizing or sharing it.

What kinds of Angular module are there?

Kinds of Angular module include core module.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.