diff --git a/src/app/hero.service.ts b/src/app/hero.service.ts index f552697..f91ef41 100644 --- a/src/app/hero.service.ts +++ b/src/app/hero.service.ts @@ -6,7 +6,7 @@ import { of } from 'rxjs/observable/of'; import { MessageService } from './message.service'; @Injectable() -export class HeroService { +export class heroService { getHeroes(): Observable { this.messageService.add('HeroService: fetched heroes');