Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 1a5f9f3

Browse files
committed
minor grammar fixes
1 parent 4bea418 commit 1a5f9f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/docs/ts/latest/tutorial/toh-pt2.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,14 @@ include ../../../../_includes/_util-fns
273273

274274
When our app loads we see a list of heroes, but a hero is not selected.
275275
The `selectedHero` is `undefined`.
276-
That’s why we'll' see the following error in the browser’s console:
276+
That’s why we'll see the following error in the browser’s console:
277277
```
278278
EXCEPTION: TypeError: Cannot read property 'name' of undefined in [null]
279279
```
280280
Remember that we are displaying `selectedHero.name` in the template.
281281
This name property does not exist because `selectedHero`itself is undefined.
282282

283-
We'll' address this problem by keeping the hero detail out of the DOM until there is a selected hero.
283+
We'll address this problem by keeping the hero detail out of the DOM until there is a selected hero.
284284

285285
We wrap the HTML hero detail content of our template with a `<div>`.
286286
Then we add the `ng-if` built-in directive and set it to the `selectedHero` property of our component.
@@ -374,7 +374,7 @@ include ../../../../_includes/_util-fns
374374

375375
:markdown
376376
Notice in the template that the `ng-class` name is surrounded in square brackets (`[]`).
377-
This is the syntax for a Property Binding, a binding in which data flow one way
377+
This is the syntax for a Property Binding, a binding in which data flows one way
378378
from the data source (the `getSelectedClass`) to a property of the `ng-class` directive.
379379

380380
.alert.is-helpful

0 commit comments

Comments
 (0)