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';

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

