docs: Fixed minor typos in attribute-directives and user-input

closes #556

* user-input.jade
This commit is contained in:
John Oxley 2015-12-16 13:26:24 +00:00 committed by Ward Bell
parent 4c7287b3e6
commit 912ed52f25
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ include ../../../../_includes/_util-fns
and relocate the call to `bootstrap` to a separate `boot.ts` file. and relocate the call to `bootstrap` to a separate `boot.ts` file.
+makeExample('attribute-directives/ts/app/boot.ts', null, 'app/boot.ts') +makeExample('attribute-directives/ts/app/boot.ts', null, 'app/boot.ts')
:marked :marked
A clean `app.component.ts` without bootstrapping is much easer to test. A clean `app.component.ts` without bootstrapping is much easier to test.
Finally, we remember to update `index.html` to load `boot.ts` Finally, we remember to update `index.html` to load `boot.ts`

View File

@ -113,9 +113,9 @@ figure.image-display
We're binding to the number 0, the shortest expression we can think of. We're binding to the number 0, the shortest expression we can think of.
That is all it takes to keep Angular happy. We said it would be clever! That is all it takes to keep Angular happy. We said it would be clever!
:marked :marked
That local template variable is intriguing. It's clearly easer to get to the textbox with that That local template variable is intriguing. It's clearly easier to get to the textbox with that
variable than to go through the `$event` object. Maybe we can re-write our previous variable than to go through the `$event` object. Maybe we can re-write our previous
"key-up" example using the variable to acquire the user's' input. Let's give it a try. "key-up" example using the variable to acquire the user's input. Let's give it a try.
+makeExample('user-input/ts/app/keyup.components.ts', 'key-up-component-2' ,'app/keyup.components.ts (v2)') +makeExample('user-input/ts/app/keyup.components.ts', 'key-up-component-2' ,'app/keyup.components.ts (v2)')
:marked :marked
That sure seems easier. That sure seems easier.