diff options
| author | Igor Minar | 2012-04-06 16:35:17 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-04-09 09:52:27 -0700 |
| commit | 82d90a409692e97a79c3bf4708ee80796c7de2d6 (patch) | |
| tree | b682f2d3042381e2456383f9c9333d30105febf8 /docs/content/guide/dev_guide.overview.ngdoc | |
| parent | 7468bcb80b997e323bb0808d19ee215cc5f7ae84 (diff) | |
| download | angular.js-82d90a409692e97a79c3bf4708ee80796c7de2d6.tar.bz2 | |
fix(docs): change all directive references to use the normalized names
Diffstat (limited to 'docs/content/guide/dev_guide.overview.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.overview.ngdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/guide/dev_guide.overview.ngdoc b/docs/content/guide/dev_guide.overview.ngdoc index 4c9c2953..e44a9cef 100644 --- a/docs/content/guide/dev_guide.overview.ngdoc +++ b/docs/content/guide/dev_guide.overview.ngdoc @@ -79,8 +79,8 @@ easier a web developer's life can if they're using angular: Try out the Live Preview above, and then let's walk through the example and describe what's going on. -In the `<html>` tag we specify that this is an angular application with the `ng-app` directive. -The `ng-app' will cause the angular to {@link dev_guide.bootstrap auto initialize} your application. +In the `<html>` tag we specify that this is an angular application with the `ngApp` directive. +The `ngApp' will cause the angular to {@link dev_guide.bootstrap auto initialize} your application. <html ng-app> @@ -88,7 +88,7 @@ We load the angular using the `<script>` tag: <script src="http://code.angularjs.org/angular-?.?.?.min.js"></script> -From the `ng-model` attribute of the `<input>` tags, angular automatically sets up two-way data +From the `ngModel` attribute of the `<input>` tags, angular automatically sets up two-way data binding, and we also demonstrate some easy input validation: Quantity: <input type="integer" min="0" ng-model="qty" required > @@ -112,7 +112,7 @@ And finally, the mysterious `{{ double curly braces }}`: This notation, `{{ _expression_ }}`, is a bit of built-in angular binding markup, a shortcut for displaying data to the user. The expression within curly braces is monitored and its evaluated value is updated into the view by angular's template compiler. Alternatively, one could use angular's -{@link api/angular.module.ng.$compileProvider.directive.ng-bind ng-bind}) directive. The expression +{@link api/angular.module.ng.$compileProvider.directive.ngBind ngBind}) directive. The expression itself can be a combination of both an expression and a {@link dev_guide.templates.filters filter}: `{{ expression | filter }}`. Angular provides filters for formatting display data. |
