import { NgModule } from '@angular/core' ; import { BrowserModule } from '@angular/platform-browser' ; import { ROUTER_CONFIG } from './app.routes' ; import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ; import { AppComponent } from './app.component' ; import { CoreModule } from './core' ; import { SharedModule } from './shared' ; import { RouterModule } from '@angular/router' ; const APP_PROVIDERS = [ ] ; /**
 * `AppModule` is the main entry point into Angular2's bootstraping process
 */ @ NgModule ( { imports : [ BrowserModule , BrowserAnimationsModule , CoreModule , SharedModule , RouterModule . forRoot ( ROUTER_CONFIG ) , ] , declarations : [ AppComponent ] , providers : [ ... APP_PROVIDERS ] , bootstrap : [ AppComponent ] } ) export class AppModule { }