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_,
{ 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()]]
},
]
})
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/core/ApplicationModule