docs: fix typo in injected variable name (#23315)

The service injected is `ValueService`, however the name of the variable
does not reflect that. It's actually confusing since it's the name of
the `class` being created.

PR Close #23315
This commit is contained in:
Jeremy Attali 2018-04-11 10:29:11 -04:00 committed by Igor Minar
parent 75febe7511
commit 993eeababb
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ export class ValueService {
// #docregion MasterService
@Injectable()
export class MasterService {
constructor(private masterService: ValueService) { }
getValue() { return this.masterService.getValue(); }
constructor(private valueService: ValueService) { }
getValue() { return this.valueService.getValue(); }
}
// #enddocregion MasterService