48 lines
1.1 KiB
TypeScript
48 lines
1.1 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { UniversalModule } from 'angular2-universal';
|
|
import { App } from './app/app';
|
|
//for routing:
|
|
import { routing } from './app/app.routing';
|
|
import { Routes, RouterModule } from "@angular/router";
|
|
|
|
// custom modules::
|
|
import {ClaimModule} from './app/claimPages/claim.module';
|
|
import {SearchModule} from './app/searchPages/search.module';
|
|
import {DepoditModule} from './app/deposit/deposit.module';
|
|
import {LandingModule} from './app/landingPages/landing.module';
|
|
|
|
import {ServicesModule} from './app/services/services.module';
|
|
|
|
|
|
//Main Router Components
|
|
|
|
import {HomeComponent} from './app/home/home.component';
|
|
|
|
import {ErrorPageComponent} from './app/error/errorPage.component';
|
|
|
|
@NgModule({
|
|
bootstrap: [ App ],
|
|
imports: [
|
|
UniversalModule, // BrowserModule, HttpModule, and JsonpModule are included
|
|
FormsModule,
|
|
ClaimModule,
|
|
SearchModule,
|
|
DepoditModule,
|
|
LandingModule,
|
|
ServicesModule,
|
|
routing
|
|
],
|
|
declarations: [ App,
|
|
HomeComponent,
|
|
ErrorPageComponent
|
|
|
|
|
|
],
|
|
providers: [
|
|
],
|
|
})
|
|
export class MainModule {
|
|
|
|
}
|