22 lines
664 B
TypeScript
Raw Normal View History

import { NgModule } from '@angular/core';
2016-07-12 18:14:13 -07:00
import { SharedModule } from '../shared/shared.module';
2016-07-12 18:14:13 -07:00
import { HeroComponent } from './hero.component';
import { HeroDetailComponent } from './hero-detail.component';
import { HeroListComponent } from './hero-list.component';
import { routing } from './hero.routing';
2016-07-12 18:14:13 -07:00
// TODO: Remove THE HeroService class in RC 6
2016-07-12 18:14:13 -07:00
import { HeroService } from './hero.service';
@NgModule({
imports: [ SharedModule, routing ],
// TODO: Remove in RC 6
2016-07-12 18:14:13 -07:00
providers: [ HeroService ],
declarations: [
HeroComponent, HeroDetailComponent, HeroListComponent,
]
})
export class HeroModule { }