|
6 | 6 | * found in the LICENSE file at https://angular.io/license |
7 | 7 | */ |
8 | 8 |
|
9 | | -import {APP_INITIALIZER, ApplicationInitStatus} from './application_init'; |
10 | 9 | import {ApplicationRef} from './application_ref'; |
11 | 10 | import {APP_ID_RANDOM_PROVIDER} from './application_tokens'; |
12 | | -import {Injector, StaticProvider} from './di'; |
| 11 | +import {StaticProvider} from './di'; |
13 | 12 | import {Inject, Optional, SkipSelf} from './di/metadata'; |
14 | | -import {ErrorHandler} from './error_handler'; |
15 | 13 | import {DEFAULT_LOCALE_ID, USD_CURRENCY_CODE} from './i18n/localization'; |
16 | 14 | import {DEFAULT_CURRENCY_CODE, LOCALE_ID} from './i18n/tokens'; |
17 | | -import {ComponentFactoryResolver} from './linker'; |
18 | | -import {Compiler} from './linker/compiler'; |
19 | 15 | import {NgModule} from './metadata'; |
20 | | -import {NgZone} from './zone'; |
21 | 16 |
|
22 | 17 | declare const $localize: {locale?: string}; |
23 | 18 |
|
@@ -56,17 +51,6 @@ export function getGlobalLocale(): string { |
56 | 51 | * that is used to configure the root injector for bootstrapping. |
57 | 52 | */ |
58 | 53 | export const APPLICATION_MODULE_PROVIDERS: StaticProvider[] = [ |
59 | | - { |
60 | | - provide: ApplicationRef, |
61 | | - useClass: ApplicationRef, |
62 | | - deps: [NgZone, Injector, ErrorHandler, ComponentFactoryResolver, ApplicationInitStatus] |
63 | | - }, |
64 | | - { |
65 | | - provide: ApplicationInitStatus, |
66 | | - useClass: ApplicationInitStatus, |
67 | | - deps: [[new Optional(), APP_INITIALIZER]] |
68 | | - }, |
69 | | - {provide: Compiler, useClass: Compiler, deps: []}, |
70 | 54 | APP_ID_RANDOM_PROVIDER, |
71 | 55 | { |
72 | 56 | provide: LOCALE_ID, |
|
0 commit comments