diff --git a/public/docs/ts/latest/cookbook/component-communication.jade b/public/docs/ts/latest/cookbook/component-communication.jade index 734a6ac20d..f69046e241 100644 --- a/public/docs/ts/latest/cookbook/component-communication.jade +++ b/public/docs/ts/latest/cookbook/component-communication.jade @@ -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')