import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
//specific imports removed deliberately
@NgModule({
declarations: [
AppComponent,
HeaderComponent,
FooterComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
AddonsModule,
PageBodyModule,
NgbModule.forRoot(),
OwlModule,
AgmCoreModule.forRoot({
apiKey: ''
}),
NouisliderModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
I am looking to transform this Angular 2 code in TypeScript into ES6. My focus is on converting the @NgModule ({...}) "app.module.ts" segment into ES6, as I have a project that needs conversion from Angular 2 to ES6. So far, this has been my primary challenge.