31 lines
792 B
TypeScript
31 lines
792 B
TypeScript
import { ReactiveFormsModule } from '@angular/forms';
|
|
import { CommonModule } from '@angular/common';
|
|
import { NgModule } from '@angular/core';
|
|
import { DynFormComponent } from './dyn-form.component';
|
|
import {CounterInputComponent} from './inputs/counter-input.component';
|
|
import {KeysPipe, TagInputComponent} from './inputs/tag-input.component';
|
|
import {DynQuestionComponent} from './dyn-question.component';
|
|
import {QuestionService} from './services/question.service';
|
|
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
ReactiveFormsModule
|
|
],
|
|
exports: [
|
|
DynFormComponent
|
|
],
|
|
declarations: [
|
|
DynFormComponent,
|
|
DynQuestionComponent,
|
|
CounterInputComponent,
|
|
TagInputComponent,
|
|
KeysPipe
|
|
],
|
|
providers: [
|
|
QuestionService
|
|
],
|
|
})
|
|
export class DynFormModule { }
|