This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 1 file changed +4
-4
lines changed
public/docs/ts/latest/cookbook
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -299,8 +299,8 @@ a(id="countdown-tests")
299
299
+ makeExample('cb-component-communication/ts/app/missioncontrol.component.ts' )
300
300
301
301
:marked
302
- The `AstronoutComponent ` also injects the service in its constructor.
303
- Each `AstronoutComponent ` is a child of the `MissionControlComponent` and therefore receives its parent's service instance:
302
+ The `AstronautComponent ` also injects the service in its constructor.
303
+ Each `AstronautComponent ` is a child of the `MissionControlComponent` and therefore receives its parent's service instance:
304
304
305
305
+ makeExample('cb-component-communication/ts/app/astronaut.component.ts' )
306
306
@@ -315,7 +315,7 @@ a(id="countdown-tests")
315
315
it controls the lifetime of the `MissionService`.
316
316
:marked
317
317
The *History* log demonstrates that messages travel in both directions between
318
- the parent `MissionControlComponent` and the `AstronoutComponent ` children,
318
+ the parent `MissionControlComponent` and the `AstronautComponent ` children,
319
319
facilitated by the service:
320
320
321
321
figure.image-display
@@ -324,7 +324,7 @@ figure.image-display
324
324
:marked
325
325
### Test it
326
326
327
- Tests click buttons of both the parent `MissionControlComponent` and the `AstronoutComponent ` children
327
+ Tests click buttons of both the parent `MissionControlComponent` and the `AstronautComponent ` children
328
328
and verify that the *History* meets expectations:
329
329
330
330
+ makeExample('cb-component-communication/e2e-spec.js' , 'bidirectional-service' )
You can’t perform that action at this time.
0 commit comments