docs(cookbook/component-communication): Astronout -> AstronautComponent word typo fix
closes #1067 Changed AstronoutComponent to AstronautComponent.
This commit is contained in:
parent
ec4c1edff4
commit
36c98ae4bf
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue