2019-01-18 18:03:45 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
2019-12-11 15:51:03 +01:00
|
|
|
import { PendingChangesGuard } from '@common/forms/pending-form-changes/pending-form-changes-guard.service';
|
|
|
|
import { FormService } from './form-service';
|
2019-01-18 18:03:45 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
2019-12-11 15:51:03 +01:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
FormService,
|
|
|
|
PendingChangesGuard
|
2019-01-18 18:03:45 +01:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class CommonFormsModule { }
|