@Injectable() export class HeroDetailService { constructor(private heroService: HeroService) { } /* . . . */ }