import { FormsModule } from '@angular/forms';
import { MdIconModule, MdButtonModule, MdMenuModule, MdSlideToggleModule, MdDialogModule, MdInputModule } from '@angular/material';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { SharedModule } from '../shared/shared.module';
import { ZoneMessageModule } from './../zone-message/zone-message.module';

/* Components */
import { ZoneComponent } from './zone.component';
import { AddResultDialogComponent } from './add-result.dialog.component';

const routes: Routes = [
    { path: '', component: ZoneComponent }
]

@NgModule({
    imports: [
        SharedModule,
        RouterModule.forChild(routes),
        FormsModule,
        MdIconModule,
        MdButtonModule,
        MdMenuModule,
        MdSlideToggleModule,
        MdDialogModule,
        MdInputModule,
        ZoneMessageModule
    ],
    declarations: [
        ZoneComponent,
        AddResultDialogComponent
    ],
    entryComponents: [
        AddResultDialogComponent
    ]
})
export class ZoneModule {}
import { FormsModule } from '@angular/forms';
import { MdIconModule, MdButtonModule, MdMenuModule, MdSlideToggleModule, MdDialogModule, MdInputModule, MdCheckboxModule } from '@angular/material';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { SharedModule } from '../shared/shared.module';
import { ZoneMessageModule } from './../zone-message/zone-message.module';

/* Components */
import { ZoneComponent } from './zone.component';
import { AddResultDialogComponent } from './add-result.dialog.component';

const routes: Routes = [
    { path: '', component: ZoneComponent }
]

@NgModule({
    imports: [
        SharedModule,
        RouterModule.forChild(routes),
        FormsModule,
        MdIconModule,
        MdButtonModule,
        MdMenuModule,
        MdSlideToggleModule,
        MdDialogModule,
        MdInputModule,
        MdCheckboxModule,
        ZoneMessageModule
    ],
    declarations: [
        ZoneComponent,
        AddResultDialogComponent
    ],
    entryComponents: [
        AddResultDialogComponent
    ]
})
export class ZoneModule {}
Add drop solution on result
Add drop solution on result
