17 lines
532 B
TypeScript
17 lines
532 B
TypeScript
import { NgModule } from '@angular/core';
|
|
|
|
import { SharedModule } from '../shared/shared.module';
|
|
|
|
import { HeroComponent } from './hero.component';
|
|
import { HeroDetailComponent } from './hero-detail.component';
|
|
import { HeroListComponent } from './hero-list.component';
|
|
import { HeroRoutingModule } from './hero-routing.module';
|
|
|
|
@NgModule({
|
|
imports: [ SharedModule, HeroRoutingModule ],
|
|
declarations: [
|
|
HeroComponent, HeroDetailComponent, HeroListComponent,
|
|
]
|
|
})
|
|
export class HeroModule { }
|