1
|
import { NgModule } from '@angular/core';
|
2
|
import { FormsModule } from '@angular/forms';
|
3
|
|
4
|
|
5
|
import { SharedModule } from './shared/shared.module';
|
6
|
|
7
|
import { AppRoutingModule } from './app-routing.module';
|
8
|
import { AppComponent, XLargeDirective } from './app.component';
|
9
|
|
10
|
import {SharedComponentsModule} from './sharedComponents/sharedComponents.module'; //navbar
|
11
|
import { ErrorModule } from './error/error.module';
|
12
|
import { CacheService } from './shared/cache.service';
|
13
|
|
14
|
|
15
|
@NgModule({
|
16
|
declarations: [ AppComponent, XLargeDirective ],
|
17
|
imports: [
|
18
|
SharedModule,
|
19
|
|
20
|
SharedComponentsModule,
|
21
|
AppRoutingModule,
|
22
|
ErrorModule
|
23
|
], exports:[], providers:[CacheService]
|
24
|
})
|
25
|
export class AppModule {
|
26
|
}
|
27
|
|
28
|
export { AppComponent } from './app.component';
|