forked from angular/angular.io
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathapp.module.ts
33 lines (29 loc) · 874 Bytes
/
app.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// #docregion
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { HeroTaxReturnComponent } from './hero-tax-return.component';
import { HeroesListComponent } from './heroes-list.component';
import { HeroesService } from './heroes.service';
import { VillainsListComponent } from './villains-list.component';
import { carComponents, carServices } from './car.components';
@NgModule({
imports: [
BrowserModule,
FormsModule
],
providers: [
carServices,
HeroesService
],
declarations: [
AppComponent,
carComponents,
HeroesListComponent,
HeroTaxReturnComponent,
VillainsListComponent
],
bootstrap: [ AppComponent ]
})
export class AppModule { }