This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathapp.module.ts
57 lines (53 loc) · 1.77 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Modules
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { ReactiveFormsModule } from '@angular/forms';
import { rootRouterConfig } from './app.routes';
// Components
import { AppComponent } from './app.component';
import { AuthAdminComponent } from './auth/auth-admin/auth-admin.component';
import { AuthAzureComponent } from './auth/auth-azure/auth-azure.component';
import { HeaderComponent } from './header/header.component';
import { FooterComponent } from './footer/footer.component';
import { WebServiceComponent } from './web/web-service/web-service.component';
import { WebServicesComponent } from './web/web-services/web-services.component';
import { LoaderComponent } from './loader/loader.component';
// Services
import { AdalService } from 'ng2-adal/core';
import { AuthService } from './services/auth.service';
import { AuthGuard } from './services/auth-guard.service';
import { AzureCallback } from './services/azure-callback.service';
import { MlsService } from './services/mls.service';
import { ExcelService } from './services/excel.service';
@NgModule({
declarations: [
AppComponent,
AuthAdminComponent,
AuthAzureComponent,
HeaderComponent,
FooterComponent,
WebServiceComponent,
WebServicesComponent,
LoaderComponent
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpModule,
RouterModule.forRoot(rootRouterConfig, { useHash: true })
],
providers: [
AdalService,
AuthService,
AuthGuard,
AzureCallback,
MlsService,
ExcelService
],
bootstrap: [AppComponent]
})
export class AppModule { }