From 14988d441596fcfd3701eae3f47fd03ed5a397ad Mon Sep 17 00:00:00 2001 From: Josh Kurz Date: Sun, 26 Apr 2015 00:36:51 -0400 Subject: [PATCH] docs(core): updating some errors in 01_templates Signed-off-by: Josh Kurz Closes #1529 --- modules/angular2/docs/core/01_templates.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/angular2/docs/core/01_templates.md b/modules/angular2/docs/core/01_templates.md index d0d501df6b..8e6da56829 100644 --- a/modules/angular2/docs/core/01_templates.md +++ b/modules/angular2/docs/core/01_templates.md @@ -431,7 +431,7 @@ syntax is preferable. ``` ``` @@ -489,7 +489,7 @@ Where NOTE: the `template` attribute must be present to make it clear to the user that a sub-template is being created. This -goes along the philosophy that the developer should be able to reason about the template without understanding the +goes along with the philosophy that the developer should be able to reason about the template without understanding the semantics of the instantiator directive. @@ -512,14 +512,14 @@ Binding events allows wiring events from DOM (or other components) to the Angula Where: * `some-element` Any element which can generate DOM events (or has an angular directive which generates the event). -* `some-event` (escaped with `()` or `bind-`) is the name of the event `some-event`. In this case the +* `some-event` (escaped with `()` or `on-`) is the name of the event `some-event`. In this case the dash-case is converted into camel-case `someEvent`. * `statement` is a valid statement (as defined in section below). If the execution of the statement returns `false`, then `preventDefault`is applied on the DOM event. By default, angular only listens to the element on the event, and ignores events which bubble. To listen to bubbled -events (as in the case of clicking on any child) use the bubble option (`(^event)` or `on-bubble-event`) as shown -bellow. +events (as in the case of clicking on any child) use the bubble option (`(event)` or `on-bubble-event`) as shown +below.