Skip to content

Commit 14988d4

Browse files
joshkurzmhevery
authored andcommitted
docs(core): updating some errors in 01_templates
Signed-off-by: Josh Kurz <jkurz25@gmail.com> Closes angular#1529
1 parent cd953ce commit 14988d4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/angular2/docs/core/01_templates.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ syntax is preferable.
431431

432432
```
433433
<ul>
434-
<li template="for; #person; in=people; #i=index;">{{i}}. {{person}}<li>
434+
<li template="for; #person; of=people; #i=index;">{{i}}. {{person}}<li>
435435
</ul>
436436
```
437437

@@ -489,7 +489,7 @@ Where
489489

490490

491491
NOTE: the `template` attribute must be present to make it clear to the user that a sub-template is being created. This
492-
goes along the philosophy that the developer should be able to reason about the template without understanding the
492+
goes along with the philosophy that the developer should be able to reason about the template without understanding the
493493
semantics of the instantiator directive.
494494

495495

@@ -512,14 +512,14 @@ Binding events allows wiring events from DOM (or other components) to the Angula
512512

513513
Where:
514514
* `some-element` Any element which can generate DOM events (or has an angular directive which generates the event).
515-
* `some-event` (escaped with `()` or `bind-`) is the name of the event `some-event`. In this case the
515+
* `some-event` (escaped with `()` or `on-`) is the name of the event `some-event`. In this case the
516516
dash-case is converted into camel-case `someEvent`.
517517
* `statement` is a valid statement (as defined in section below).
518518
If the execution of the statement returns `false`, then `preventDefault`is applied on the DOM event.
519519

520520
By default, angular only listens to the element on the event, and ignores events which bubble. To listen to bubbled
521-
events (as in the case of clicking on any child) use the bubble option (`(^event)` or `on-bubble-event`) as shown
522-
bellow.
521+
events (as in the case of clicking on any child) use the bubble option (`(event)` or `on-bubble-event`) as shown
522+
below.
523523

524524
<table>
525525
<tr>

0 commit comments

Comments
 (0)