docs(cookbook): fix spelling error for word 'class' (#2682)

This commit is contained in:
WilliamKoza 2016-10-31 08:48:22 +01:00 committed by Ward Bell
parent e9d78133e1
commit 43c9071a2e
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ a(id="countdown-tests")
Here is the parent, `CountdownViewChildParentComponent`: Here is the parent, `CountdownViewChildParentComponent`:
+makeExample('cb-component-communication/ts/app/countdown-parent.component.ts', 'vc') +makeExample('cb-component-communication/ts/app/countdown-parent.component.ts', 'vc')
:marked :marked
It takes a bit more work to get the child view into the parent component classs. It takes a bit more work to get the child view into the parent component *class*.
We import references to the `ViewChild` decorator and the `AfterViewInit` lifecycle hook. We import references to the `ViewChild` decorator and the `AfterViewInit` lifecycle hook.