The Wayback Machine - https://web.archive.org/web/20251220222207/https://angular.dev/api/core/NgModule
    • Overview
@angular/core

NgModule

decorator

Decorator that marks a class as an NgModule and supplies configuration metadata.

API

@NgModule({  providers?: (Provider | EnvironmentProviders)[] | undefined;  declarations?: (any[] | Type<any>)[] | undefined;  imports?: (any[] | Type<any> | ModuleWithProviders<{}>)[] | undefined;  exports?: (any[] | Type<any>)[] | undefined;  bootstrap?: (any[] | Type<any>)[] | undefined;  schemas?: (any[] | SchemaMetadata)[] | undefined;  id?: string | undefined;  jit?: true | undefined;})
Jump to details
HTTPS · web.archive.org
← Home