2016-07-18 03:50:31 -07:00
|
|
|
/**
|
|
|
|
|
* @license
|
2020-05-19 12:08:49 -07:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2016-07-18 03:50:31 -07:00
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
|
*/
|
|
|
|
|
|
2018-04-26 14:08:13 -07:00
|
|
|
import {ApplicationRef} from './application_ref';
|
2016-07-18 03:50:31 -07:00
|
|
|
import {NgModule} from './metadata';
|
|
|
|
|
|
2019-10-23 22:49:02 +01:00
|
|
|
/**
|
2018-08-22 08:52:19 -07:00
|
|
|
* Re-exported by `BrowserModule`, which is included automatically in the root
|
2022-02-15 22:22:27 -08:00
|
|
|
* `AppModule` when you create a new app with the CLI `new` command. Eagerly injects
|
|
|
|
|
* `ApplicationRef` to instantiate it.
|
2018-04-26 14:08:13 -07:00
|
|
|
*
|
2018-10-19 12:12:20 +01:00
|
|
|
* @publicApi
|
2016-07-18 03:50:31 -07:00
|
|
|
*/
|
2022-02-15 22:22:27 -08:00
|
|
|
@NgModule()
|
2016-07-18 03:50:31 -07:00
|
|
|
export class ApplicationModule {
|
2018-04-26 14:08:13 -07:00
|
|
|
// Inject ApplicationRef to make it eager...
|
|
|
|
|
constructor(appRef: ApplicationRef) {}
|
2016-07-18 03:50:31 -07:00
|
|
|
}
|