@@ -79,12 +79,10 @@ easier a web developer's life can if they're using angular:
7979Try out the Live Preview above, and then let's walk through the example and describe what's going
8080on.
8181
82- In the `<html>` tag, we add an attribute to let the browser know about the angular namespace.
83- This ensures angular runs nicely in all major browsers. We also specify that it is an angular
84- application with the `ng-app` directive. The `ng-app' will cause the angular to {@link
85- dev_guide.bootstrap auto initialize} your application.
82+ In the `<html>` tag we specify that this is an angular application with the `ng-app` directive.
83+ The `ng-app' will cause the angular to {@link dev_guide.bootstrap auto initialize} your application.
8684
87- <html ng-ng- app>
85+ <html ng-app>
8886
8987We load the angular using the `<script>` tag:
9088
@@ -111,12 +109,12 @@ And finally, the mysterious `{{ double curly braces }}`:
111109
112110 Total: {{qty * cost | currency}}
113111
114- This notation, `{{ _expression_ }}`, is a bit of built-in angular {@link http://localhost:8000/build/docs/api/angular.module.ng.$interpolate
115- markup}, a shortcut for displaying data to the user. The expression within curly braces gets
116- transformed by the angular compiler into an angular directive ({@link api/ angular.module.ng.$compileProvider.directive.ng-bind
117- ng -bind}) . The expression itself can be a combination of both an expression and a {@link
118- dev_guide.templates.filters filter}: `{{ expression | filter }}`. Angular provides filters for
119- formatting display data.
112+ This notation, `{{ _expression_ }}`, is a bit of built-in angular binding markup, a shortcut for
113+ displaying data to the user. The expression within curly braces is monitored and its evaluated value
114+ is updated into the view by angular's template compiler. Alternatively, one could use angular's
115+ {@link api/angular.module.ng.$compileProvider.directive.ng -bind ng-bind}) directive . The expression
116+ itself can be a combination of both an expression and a {@link dev_guide.templates. filters filter}:
117+ `{{ expression | filter }}`. Angular provides filters for formatting display data.
120118
121119In the example above, the expression in double-curly braces directs angular to, "Bind the data we
122120got from the input widgets to the display, multiply them together, and format the resulting number
0 commit comments