import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { RouterModule, Routes } from "@angular/router";
import { DetailComponent } from "./detail.component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { FilePickerModule } from "ngx-awesome-uploader";

const routes: Routes = [
  {
    path: "",
    component: DetailComponent,
  },
];

@NgModule({
  declarations: [DetailComponent],
  imports: [
    CommonModule,
    RouterModule.forChild(routes),
    FormsModule,
    ReactiveFormsModule,
    FilePickerModule,
  ],
})
export class DetailModule {}
