W3cubDocs

/Angular

ApplicationModule

Re-exported by BrowserModule, which is included automatically in the root AppModule when you create a new app with the CLI new command. Eagerly injects ApplicationRef to instantiate it.

API

class ApplicationModule {
  constructor(appRef: ApplicationRef): ApplicationModule;
}

constructor

ApplicationModule
@paramappRefApplicationRef

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/ApplicationModule