Skip to main content

Modules

Modules in Angular help organize an application into cohesive blocks of functionality. They group related components, directives, pipes, and services.

Overview​

Before Standalone v15.0.0

Usage​

They are defined using the @NgModule decorator.

@NgModule({
imports: [],
providers: [],
exports: [],
// declatations: [],
})
export class YourModule {}