import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { FormsModule } from "@angular/forms";
import { TabsModule } from "ngx-bootstrap/tabs";

import { DataTablesModule } from "angular-datatables";
import { AgmCoreModule } from "@agm/core";
import { LoadingModule } from "ngx-loading";
import { MomentModule } from 'ngx-moment';
import {MomentTimezoneModule} from 'angular-moment-timezone';

import { BoardRoutingModule } from "./board-routing.module";
import { Board001Component } from "./board001/board001.component";
import { Board001CreateBoardComponent } from "./board001/board001-create-board.component";
import { Board001ViewBoardComponent } from "./board001/board001-view-board.component";
import { Board001SetBoardComponent } from "./board001/board001-set-board.component";
import { MyDatePickerModule } from "mydatepicker";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    MomentModule,
    MomentTimezoneModule,
    BoardRoutingModule,
    DataTablesModule,
    MyDatePickerModule,
    LoadingModule,
    TabsModule.forRoot(),
    AgmCoreModule.forRoot({
      apiKey: "",
      language: "zh-TW"
    }),
    LoadingModule
  ],
  declarations: [
    Board001Component,
    Board001CreateBoardComponent,
    Board001SetBoardComponent,
    Board001ViewBoardComponent,
  ]
})
export class BoardModule {}
