Last active
September 14, 2017 07:33
-
-
Save isummation/222cfd494fdac0d60e1d01a8fcf40b9d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// dynamic-form.module.ts | |
import { DynamicFormComponent } from './dynamic-form.component'; | |
import { ReactiveFormsModule, FormsModule } from '@angular/forms'; | |
import { DynamicFormControlComponent } from './dynamic-form-control/dynamic-form-control.component'; | |
import { NgModule } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
@NgModule({ | |
imports: [ | |
CommonModule, | |
ReactiveFormsModule, | |
FormsModule | |
], | |
exports: [DynamicFormControlComponent, DynamicFormComponent], | |
declarations: [DynamicFormControlComponent, DynamicFormComponent], | |
entryComponents: [DynamicFormControlComponent, DynamicFormComponent] | |
}) | |
export class DynamicFormModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment