ApplicationModule
ApplicationModule
Experimental Class
Class Overview
class ApplicationModule { constructor(appRef: ApplicationRef) }
Class Description
This module includes the providers of @angular/core that are needed to bootstrap components via ApplicationRef
.
Annotations
@NgModule({ providers: [ ApplicationRef_, {provide: ApplicationRef, useExisting: 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()]] }, {provide: APP_INITIALIZER, useValue: _initViewEngine, multi: true}, ] })
Constructor
constructor(appRef: ApplicationRef)
exported from core-index, defined in core/src/application_module.ts
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/core/index/ApplicationModule-class.html