This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

ApplicationModule

Configures the root injector for an app with providers of @angular/core dependencies that ApplicationRef needs to bootstrap components.

See more...

class ApplicationModule { }
      
      class ApplicationModule {
}
    

Description

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

Providers

Provider
APPLICATION_MODULE_PROVIDERS
      
      APPLICATION_MODULE_PROVIDERS