-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.module.ts
39 lines (33 loc) · 1.64 KB
/
app.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
//import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { EmpDetailsComponent } from './emp-details/emp-details.component';
import { EmpTreeComponent } from './emp-tree/emp-tree.component';
import { HeadNavComponent } from './head-nav/head-nav.component';
import { PageNotFoundComponent } from './page-not-found/page-not-found.component';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { FormsModule } from '@angular/forms';
import { UsedMaterialModule } from '../material.modules';
import { BASE_PATH } from 'build/openapi/variables';
import { environment } from '../environments/environment';
import { SalChangerComponent } from './sal-changer/sal-changer.component';
import { SalMinimalComponent } from './sal-minimal/sal-minimal.component';
@NgModule({ declarations: [
AppComponent,
EmpTreeComponent,
EmpDetailsComponent,
PageNotFoundComponent,
HeadNavComponent,
SalMinimalComponent,
SalChangerComponent
],
bootstrap: [AppComponent], imports: [BrowserModule,
AppRoutingModule,
//NoopAnimationsModule,
BrowserAnimationsModule,
FormsModule,
UsedMaterialModule], providers: [{ provide: BASE_PATH, useValue: environment.API_BASE_PATH }, provideHttpClient(withInterceptorsFromDi())] })
export class AppModule { }