diff options
| author | Misko Hevery | 2012-03-13 19:36:09 -0700 |
|---|---|---|
| committer | Misko Hevery | 2012-03-13 19:36:09 -0700 |
| commit | 8b8fdddc0b13f90dcc081b7d29a79f1452f2dd7b (patch) | |
| tree | e35fc500e5f2f760b602dce7215ad7679ba35e28 /docs/content/guide/dev_guide.mvc.understanding_model.ngdoc | |
| parent | ce4b630524fe15185ea248ed2344549632c446ff (diff) | |
| download | angular.js-8b8fdddc0b13f90dcc081b7d29a79f1452f2dd7b.tar.bz2 | |
docs(links): corrected borken links
Diffstat (limited to 'docs/content/guide/dev_guide.mvc.understanding_model.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.mvc.understanding_model.ngdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/guide/dev_guide.mvc.understanding_model.ngdoc b/docs/content/guide/dev_guide.mvc.understanding_model.ngdoc index 1e914c4b..e8874c49 100644 --- a/docs/content/guide/dev_guide.mvc.understanding_model.ngdoc +++ b/docs/content/guide/dev_guide.mvc.understanding_model.ngdoc @@ -28,26 +28,26 @@ occurs in controllers: * Use an {@link dev_guide.expressions angular expression} with an assignment operator in templates: - <button ng:click="{{foos='ball'}}">Click me</button> + <button ng-click="{{foos='ball'}}">Click me</button> -* Use {@link api/angular.module.ng.$compileProvider.directive.ng:init ng:init directive} in templates (for toy/example apps +* Use {@link api/angular.module.ng.$compileProvider.directive.ng-init ng-init directive} in templates (for toy/example apps only, not recommended for real applications): - <body ng:init=" foo = 'bar' "> + <body ng-init=" foo = 'bar' "> Angular creates models implicitly (by creating a scope property and assigning it a suitable value) when processing the following template constructs: * Form input, select, textarea and other form elements: - <input ng:model="query" value="fluffy cloud"> + <input ng-model="query" value="fluffy cloud"> The code above creates a model called "query" on the current scope with the value set to "fluffy cloud". -* An iterator declaration in {@link api/angular.module.ng.$compileProvider.directive.@ng:repeat ng:repeater}: +* An iterator declaration in {@link api/angular.module.ng.$compileProvider.directive.ng-repeat ng-repeater}: - <p ng:repeat="phone in phones"></p> + <p ng-repeat="phone in phones"></p> The code above creates one child scope for each item in the "phones" array and creates a "phone" object (model) on each of these scopes with its value set to the value of "phone" in the array. |
