19 lines
		
	
	
		
			665 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			665 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
|  | // #docregion
 | ||
|  | import { BrowserModule }                from '@angular/platform-browser'; | ||
|  | import { ReactiveFormsModule }          from '@angular/forms'; | ||
|  | import { NgModule }                     from '@angular/core'; | ||
|  | 
 | ||
|  | import { AppComponent }                 from './app.component'; | ||
|  | import { DynamicFormComponent }         from './dynamic-form.component'; | ||
|  | import { DynamicFormQuestionComponent } from './dynamic-form-question.component'; | ||
|  | 
 | ||
|  | @NgModule({ | ||
|  |   imports: [ BrowserModule, ReactiveFormsModule ], | ||
|  |   declarations: [ AppComponent, DynamicFormComponent, DynamicFormQuestionComponent ], | ||
|  |   bootstrap: [ AppComponent ] | ||
|  | }) | ||
|  | export class AppModule { | ||
|  |   constructor() { | ||
|  |   } | ||
|  | } |