docs: Change LoggerService to Logger service

`LoggerService` implies that it will be written as such in the code, yet the hero.service.ts example has a service simply called `Logger` (which matches the Style Guide).
This commit is contained in:
Patrick McDonald 2016-06-22 13:48:00 -04:00 committed by Naomi Black
parent f3189546a6
commit adc04b6830
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ figure
+makeExample('architecture/ts/app/logger.service.ts', 'class', 'app/logger.service.ts (class only)')(format=".")
:marked
Here's a `HeroService` that fetches heroes and returns them in a resolved [promise](http://exploringjs.com/es6/ch_promises.html).
The `HeroService` depends on the `LoggerService` and another `BackendService` that handles the server communication grunt work.
The `HeroService` depends on the `Logger` service and another `BackendService` that handles the server communication grunt work.
+makeExample('architecture/ts/app/hero.service.ts', 'class', 'app/hero.service.ts (class only)')(format=".")
:marked
Services are everywhere.