mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
23 lines
659 B
TypeScript
23 lines
659 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { HttpModule } from '@angular/http';
|
|
import { sharedConfig } from './app.module.shared';
|
|
|
|
@NgModule({
|
|
bootstrap: sharedConfig.bootstrap,
|
|
declarations: sharedConfig.declarations,
|
|
imports: [
|
|
BrowserModule,
|
|
FormsModule,
|
|
HttpModule,
|
|
...sharedConfig.imports
|
|
],
|
|
providers: [
|
|
{ provide: 'ORIGIN_URL', useValue: location.origin },
|
|
{ provide: 'PRERENDERING_DATA', useValue: (window as any).PRERENDERING_DATA }
|
|
]
|
|
})
|
|
export class AppModule {
|
|
}
|