import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { GoalsRoutingModule } from './goals-routing.module'; import { GoalsComponent } from './goals.component'; import { GoalPlanInventoryService } from './goal-plan-inventory/goal-plan-inventory.service'; import { GoalPlanInventoryComponent } from './goal-plan-inventory/goal-plan-inventory.component'; import { GoalHeaderComponent } from './goal-header/goal-header.component'; import { HttpClientModule } from '@angular/common/http'; import { MatDialogModule } from '@angular/material/dialog'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { NgSelectModule } from '@ng-select/ng-select'; import { BsDatepickerModule } from 'ngx-bootstrap/datepicker'; import { AddGoalPlanComponent } from './goal-plan-inventory/add-goal-plan/add-goal-plan.component'; import { EditGoalPlanComponent } from './goal-plan-inventory/edit-goal-plan/edit-goal-plan.component'; import { AppPipeModule } from '../app-pipe.module'; import { MatCardModule } from '@angular/material/card'; import { ViewGoalPlanComponent } from './goal-plan-inventory/view-goal-plan/view-goal-plan.component'; import { FilterGoallistPipe } from 'src/app/common/pipes/goal-search-filter'; import { AddGoalWizardComponent } from './goal-plan-inventory/add-goal-wizard/add-goal-wizard.component'; import { FormComponent } from './form/form.component'; import { FormService } from './form/form.service'; import { FormDialogComponent } from './form/form-dialog/form-dialog.component'; import { httpInterceptorProviders } from 'src/app/common/http-interceptors'; @NgModule({ declarations: [ GoalPlanInventoryComponent, AddGoalPlanComponent, EditGoalPlanComponent, ViewGoalPlanComponent, AddGoalWizardComponent, FilterGoallistPipe, FormComponent, FormDialogComponent, GoalHeaderComponent ], imports: [CommonModule, FormsModule, ReactiveFormsModule, GoalsRoutingModule, HttpClientModule, MatDialogModule, GoalsRoutingModule, NgbModule, NgSelectModule, BsDatepickerModule, AppPipeModule, MatCardModule ], exports: [ FilterGoallistPipe ], entryComponents: [ AddGoalPlanComponent, EditGoalPlanComponent, ViewGoalPlanComponent, AddGoalWizardComponent, FormDialogComponent ], providers: [httpInterceptorProviders, GoalPlanInventoryService, FormService], bootstrap: [GoalsComponent], }) export class GoalsModule {}