[init] init version
This commit is contained in:
41
src/app/app.module.ts
Normal file
41
src/app/app.module.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {BrowserModule} from '@angular/platform-browser';
|
||||
import {AppRoutingComponents, AppRoutingModule} from './app-routing.module';
|
||||
import {AppComponent} from './app.component';
|
||||
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
|
||||
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
|
||||
import {HTTP_INTERCEPTORS, HttpClientModule} from "@angular/common/http";
|
||||
import {AppService} from "./app.service";
|
||||
import {AppGuard} from "./app.guard";
|
||||
import {AppRequestInterceptor} from "./app.request.interceptor";
|
||||
import {AppSharedModule} from "./app.shared";
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
...AppRoutingComponents
|
||||
],
|
||||
imports: [
|
||||
|
||||
BrowserModule,
|
||||
AppRoutingModule,
|
||||
BrowserAnimationsModule,
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
HttpClientModule,
|
||||
AppSharedModule
|
||||
],
|
||||
providers: [
|
||||
AppService,
|
||||
AppGuard,
|
||||
{
|
||||
provide: HTTP_INTERCEPTORS,
|
||||
useClass: AppRequestInterceptor,
|
||||
multi: true
|
||||
},
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
export class AppModule {
|
||||
}
|
||||
Reference in New Issue
Block a user