26 lines
		
	
	
		
			685 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			685 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { NgModule } from '@angular/core';
 | |
| import { BrowserModule }  from '@angular/platform-browser';
 | |
| import { FormsModule } from '@angular/forms';
 | |
| 
 | |
| import { AppComponent } from './app.component';
 | |
| import { BigHeroDetailComponent, HeroDetailComponent } from './hero-detail.component';
 | |
| import { ClickDirective, ClickDirective2 } from './click.directive';
 | |
| import { SizerComponent } from './sizer.component';
 | |
| 
 | |
| @NgModule({
 | |
|   imports: [
 | |
|     BrowserModule,
 | |
|     FormsModule
 | |
|   ],
 | |
|   declarations: [
 | |
|     AppComponent,
 | |
|     BigHeroDetailComponent,
 | |
|     HeroDetailComponent,
 | |
|     ClickDirective,
 | |
|     ClickDirective2,
 | |
|     SizerComponent
 | |
|   ],
 | |
|   bootstrap: [ AppComponent ]
 | |
| })
 | |
| export class AppModule { }
 |