import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IndexComponent } from './index/index.component';
import { moduleRouting } from './home.routing';
import { ArchwizardModule } from 'ng2-archwizard';
import { NgxCarouselModule } from 'ngx-carousel';
import { AgmCoreModule } from '@agm/core';
import { StarRatingModule } from 'angular-star-rating';
import 'hammerjs';
import { DashboardComponent } from './dashboard/dashboard.component';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { BsDatepickerModule } from 'ngx-bootstrap';
import { MalihuScrollbarModule } from 'ngx-malihu-scrollbar';
import { ForgotComponent } from './forgot/forgot.component';
import { TncComponent } from './tnc/tnc.component';
import { PrivacyComponent } from './privacy/privacy.component';
import { TnsComponent } from './tns/tns.component';


@NgModule({
  declarations: [
    IndexComponent,
     DashboardComponent,
     ForgotComponent,
     TncComponent,
     PrivacyComponent,
     TnsComponent
    ],
  imports: [
    FormsModule,
    CommonModule,
    moduleRouting,
    StarRatingModule,
    ArchwizardModule,
    NgxCarouselModule,
    ReactiveFormsModule,
    BsDatepickerModule.forRoot(),
    MalihuScrollbarModule.forRoot(),
    AgmCoreModule.forRoot({
      apiKey: 'AIzaSyAd3eUTU8Y3w0qemOuaRw1IXoACbeyjBJQ',
      libraries: ["places"]
    })
  ]
})
export class HomeModule { }

