docs(cookbook/component-communication): Astronout -> AstronautComponent word typo fix

closes #1067
Changed AstronoutComponent to AstronautComponent.
This commit is contained in:
Aristeidis Bampakos 2016-04-10 14:14:51 +03:00 committed by Ward Bell
parent ec4c1edff4
commit 36c98ae4bf
1 changed files with 4 additions and 4 deletions

View File

@ -299,8 +299,8 @@ a(id="countdown-tests")
+makeExample('cb-component-communication/ts/app/missioncontrol.component.ts')
:marked
The `AstronoutComponent` also injects the service in its constructor.
Each `AstronoutComponent` is a child of the `MissionControlComponent` and therefore receives its parent's service instance:
The `AstronautComponent` also injects the service in its constructor.
Each `AstronautComponent` is a child of the `MissionControlComponent` and therefore receives its parent's service instance:
+makeExample('cb-component-communication/ts/app/astronaut.component.ts')
@ -315,7 +315,7 @@ a(id="countdown-tests")
it controls the lifetime of the `MissionService`.
:marked
The *History* log demonstrates that messages travel in both directions between
the parent `MissionControlComponent` and the `AstronoutComponent` children,
the parent `MissionControlComponent` and the `AstronautComponent` children,
facilitated by the service:
figure.image-display
@ -324,7 +324,7 @@ figure.image-display
:marked
### Test it
Tests click buttons of both the parent `MissionControlComponent` and the `AstronoutComponent` children
Tests click buttons of both the parent `MissionControlComponent` and the `AstronautComponent` children
and verify that the *History* meets expectations:
+makeExample('cb-component-communication/e2e-spec.js', 'bidirectional-service')