On this page
ApplicationModule
class
npm Package | @angular/core |
---|---|
Module | import { ApplicationModule } from '@angular/core'; |
Source | core/src/application_module.ts |
Overview
class ApplicationModule {
constructor(appRef: ApplicationRef)
}
Description
This module includes the providers of @angular/core that are needed to bootstrap components via ApplicationRef
.
Constructor
constructor(appRef: ApplicationRef)
Annotations
@NgModule({ providers: [ ApplicationRef, ApplicationInitStatus, Compiler, APP_ID_RANDOM_PROVIDER, { provide: IterableDiffers, useFactory: _iterableDiffersFactory }, { provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory }, { provide: LOCALE_ID, useFactory: _localeFactory, deps: [[new Inject(LOCALE_ID), new Optional(), new SkipSelf()]] }, ] })
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/ApplicationModule