// #docregion import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { HeroListComponent } from './hero-list.component'; import { HeroDetailComponent } from './hero-detail.component'; import { HeroService } from './hero.service'; // #docregion heroes-routes import { heroesRouting } from './heroes.routing'; @NgModule({ imports: [ CommonModule, FormsModule, heroesRouting ], declarations: [ HeroListComponent, HeroDetailComponent ], providers: [ HeroService ] }) // #enddocregion heroes-routes export class HeroesModule {} // #enddocregion