Skip to content

Commit 8b8fddd

Browse files
committed
docs(links): corrected borken links
1 parent ce4b630 commit 8b8fddd

26 files changed

Lines changed: 127 additions & 138 deletions

CHANGELOG.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ behavior and migrate your controllers one at a time: <https://gist.github.com/16
985985
# <angular/> 0.9.10 flea-whisperer (2011-01-26) #
986986

987987
### Features
988-
- new [`ng:view`](http://docs.angularjs.org/#!/api/angular.widget.ng:view) widget to simplify integration
988+
- new [`ng:view`](http://docs.angularjs.org/#!/api/angular.widget.ng-view) widget to simplify integration
989989
with the `$route` service
990990
- the content of all standard HTML widgets is now being processed
991991
(e.g. `<button>{{foo}}</button>` works now) (commit 1d7b9d56)
@@ -1306,20 +1306,20 @@ with the `$route` service
13061306
[element]: http://docs.angularjs.org/#!/api/angular.element
13071307
[widget]: http://docs.angularjs.org/#!/api/angular.widget
13081308
[ng:repeat]: http://docs.angularjs.org/#!/api/angular.widget.@ng:repeat
1309-
[ng:view]: http://docs.angularjs.org/#!/api/angular.widget.ng:view
1310-
[ng:include]: http://docs.angularjs.org/#!/api/angular.widget.ng:include
1311-
[ng:options]: http://docs.angularjs.org/#!/api/angular.directive.ng:options
1312-
[ng:disabled]: http://docs.angularjs.org/#!/api/angular.directive.ng:disabled
1313-
[ng:selected]: http://docs.angularjs.org/#!/api/angular.directive.ng:selected
1314-
[ng:checked]: http://docs.angularjs.org/#!/api/angular.directive.ng:checked
1315-
[ng:multiple]: http://docs.angularjs.org/#!/api/angular.directive.ng:multiple
1316-
[ng:readonly]: http://docs.angularjs.org/#!/api/angular.directive.ng:readonly
1317-
[ng:show]: http://docs.angularjs.org/#!/api/angular.directive.ng:show
1318-
[ng:hide]: http://docs.angularjs.org/#!/api/angular.directive.ng:hide
1319-
[ng:class]: http://docs.angularjs.org/#!/api/angular.directive.ng:class
1320-
[ng:src]: http://docs.angularjs.org/#!/api/angular.directive.ng:src
1321-
[ng:href]: http://docs.angularjs.org/#!/api/angular.directive.ng:href
1322-
[ng:style]: http://docs.angularjs.org/#!/api/angular.directive.ng:style
1309+
[ng:view]: http://docs.angularjs.org/#!/api/angular.widget.ng-view
1310+
[ng:include]: http://docs.angularjs.org/#!/api/angular.widget.ng-include
1311+
[ng:options]: http://docs.angularjs.org/#!/api/angular.directive.ng-options
1312+
[ng:disabled]: http://docs.angularjs.org/#!/api/angular.directive.ng-disabled
1313+
[ng:selected]: http://docs.angularjs.org/#!/api/angular.directive.ng-selected
1314+
[ng:checked]: http://docs.angularjs.org/#!/api/angular.directive.ng-checked
1315+
[ng:multiple]: http://docs.angularjs.org/#!/api/angular.directive.ng-multiple
1316+
[ng:readonly]: http://docs.angularjs.org/#!/api/angular.directive.ng-readonly
1317+
[ng:show]: http://docs.angularjs.org/#!/api/angular.directive.ng-show
1318+
[ng:hide]: http://docs.angularjs.org/#!/api/angular.directive.ng-hide
1319+
[ng:class]: http://docs.angularjs.org/#!/api/angular.directive.ng-class
1320+
[ng:src]: http://docs.angularjs.org/#!/api/angular.directive.ng-src
1321+
[ng:href]: http://docs.angularjs.org/#!/api/angular.directive.ng-href
1322+
[ng:style]: http://docs.angularjs.org/#!/api/angular.directive.ng-style
13231323
[$defer]: http://docs.angularjs.org/#!/api/angular.module.ng.$defer
13241324
[$cookies]: http://docs.angularjs.org/#!/api/angular.module.ng.$cookies
13251325
[$xhr]: http://docs.angularjs.org/#!/api/angular.module.ng.$xhr
@@ -1331,17 +1331,17 @@ with the `$route` service
13311331
[number]: http://docs.angularjs.org/#!/api/angular.filter.number
13321332
[currency]: http://docs.angularjs.org/#!/api/angular.filter.currency
13331333
[directive]: http://docs.angularjs.org/#!/api/angular.directive
1334-
[ng:autobind]: http://docs.angularjs.org/#!/api/angular.directive.ng:autobind
1334+
[ng:autobind]: http://docs.angularjs.org/#!/api/angular.directive.ng-autobind
13351335
[guide.di]: http://docs.angularjs.org/#!/guide/dev_guide.di
13361336
[downloading]: http://docs.angularjs.org/#!/misc/downloading
13371337
[contribute]: http://docs.angularjs.org/#!/misc/contribute
13381338
[jqLite]: http://docs.angularjs.org/#!/api/angular.element
13391339
[angular.version]: http://docs.angularjs.org/#!/api/angular.version
13401340
[Jstd Scenario Adapter]: https://github.com/angular/angular.js/blob/master/src/jstd-scenario-adapter/Adapter.js
13411341
[i18n]: http://docs-next.angularjs.org/#!/guide/dev_guide.i18n
1342-
[ng:pluralize]: http://docs-next.angularjs.org/#!/api/angular.widget.ng:pluralize
1342+
[ng:pluralize]: http://docs-next.angularjs.org/#!/api/angular.widget.ng-pluralize
13431343
[ng:form]: http://docs-next.angularjs.org/api/angular.widget.form
1344-
[ng:cloak]: http://docs-next.angularjs.org/#!/api/angular.directive.ng:cloak
1344+
[ng:cloak]: http://docs-next.angularjs.org/#!/api/angular.directive.ng-cloak
13451345
[$on]: http://docs-next.angularjs.org/#!/api/angular.scope.$on
13461346
[$emit]: http://docs-next.angularjs.org/#!/api/angular.scope.$emit
13471347
[$broadcast]: http://docs-next.angularjs.org/#!/api/angular.scope.$broadcast
@@ -1359,7 +1359,7 @@ with the `$route` service
13591359
[$cacheFactory]: http://docs-next.angularjs.org/api/angular.module.ng.$cacheFactory
13601360
[bootstrapping]: http://docs-next.angularjs.org/guide/dev_guide.bootstrap
13611361
[angular.copy]: http://docs-next.angularjs.org/api/angular.copy
1362-
[ng:app]: http://docs-next.angularjs.org/api/angular.directive.ng:app
1362+
[ng:app]: http://docs-next.angularjs.org/api/angular.directive.ng-app
13631363
[$compile]: http://docs-next.angularjs.org/api/angular.module.ng.$compile
13641364
[$filterProvider]: http://docs-next.angularjs.org/api/angular.module.ng.$filterProvider
13651365
[angular.Module]: http://docs-next.angularjs.org/api/angular.Module

docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
@description
44

55
Angular initializes automatically when you load the angular script into your page that contains an element
6-
with `ng:app` directive:
6+
with `ng-app` directive:
77

88
<pre>
99
<!doctype html>
10-
<html ng:app>
10+
<html ng-app>
1111
<head>
1212
<script src="angular.js"></script>
1313
</head>
@@ -22,16 +22,16 @@ From a high-level view, this is what happens during angular's automatic initiali
2222
1. The browser loads the page, and then runs the angular script. Angular waits for the
2323
`DOMContentLoaded` (or 'Load') event to attempt to bootstrap.
2424

25-
2. Angular looks for the `ng:app` directive. If found it then proceeds to compile the DOM element and its children.
26-
Optionally the `ng:app` may specify a {@link api/angular.module module} to load before the compilation. For details on
25+
2. Angular looks for the `ng-app` directive. If found it then proceeds to compile the DOM element and its children.
26+
Optionally the `ng-app` may specify a {@link api/angular.module module} to load before the compilation. For details on
2727
how the compiler works, see {@link dev_guide.compiler Angular HTML Compiler}.
2828

2929

3030
## Initialization Options
3131

32-
The reason why `ng:app` exists is because angular should not assume that the entire HTML
32+
The reason why `ng-app` exists is because angular should not assume that the entire HTML
3333
document should be processed just because the `angular.js` script is included. In order to compile
34-
only a part of the document set the `ng:app` on the root element of this portion.
34+
only a part of the document set the `ng-app` on the root element of this portion.
3535

3636
## Global Angular Object
3737

docs/content/guide/dev_guide.bootstrap.manual_bootstrap.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ angular, but advanced users who want more control over the initialization proces
77
the manual bootstrapping method instead.
88

99
The best way to get started with manual bootstrapping is to look at the what happens when you use
10-
{@link api/angular.module.ng.$compileProvider.directive.ng:app ng:app}, by showing each step of the process
10+
{@link api/angular.module.ng.$compileProvider.directive.ng-app ng-app}, by showing each step of the process
1111
explicitly.
1212

1313
<pre>

docs/content/guide/dev_guide.bootstrap.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ angular should process and manage the page. To initialize angular you do the fol
77

88
* Specify the angular namespace in the `<html>` page
99
* Choose which flavor of angular script to load (debug or production)
10-
* Specify whether or not angular should process and manage the page automatically (`ng:app`)
10+
* Specify whether or not angular should process and manage the page automatically (`ng-app`)
1111

1212
The simplest way to initialize angular is to load the angular script and tell angular to compile
1313
and manage the whole page. You do this as follows:
1414

1515
<pre>
1616
<!doctype html>
17-
<html xmlns:ng="http://angularjs.org" ng:app>
17+
<html ng-app>
1818
<head>
1919
...
2020
</head>

docs/content/guide/dev_guide.compiler.understanding_compiler.ngdoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ directives}
2727
## Related Topics
2828

2929
* {@link dev_guide.compiler Angular HTML Compiler}
30-
* {@link dev_guide.compiler.extending_compiler Extending the Angular Compiler}
3130
* {@link dev_guide.compiler.testing_dom_element Testing a New DOM Element}
3231

3332
## Related API

docs/content/guide/dev_guide.di.understanding_di.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ In the illustration above, the dependency injection sequence proceeds as follows
2727

2828
1. Module "phonecat" is created and all the service providers are registered with this module.
2929
(the "ng" module is created by Angular behind the scenes as well)
30-
2. `ng:app` triggers bootstrap sequence on given element, during which angular creates injector,
30+
2. `ng-app` triggers bootstrap sequence on given element, during which angular creates injector,
3131
loads "phonecat" and "ng" modules and compiles the template.
32-
3. The `ng:controller` directive implicitly creates a new child scope and instantiates
32+
3. The `ng-controller` directive implicitly creates a new child scope and instantiates
3333
`PhoneListCtrl` controller.
3434
4. Injector identifies the `$http` service as `PhoneListCtrl` controller's only dependency.
3535
5. Injector checks its instances cache whether the `$http` service has already been instantiated.

docs/content/guide/dev_guide.di.using_di_controllers.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ controller from the HTML template, as follows:
2121

2222
<pre>
2323
<!doctype html>
24-
<html xmlns:ng="http://angularjs.org" ng:controller="MyController" ng:app>
24+
<html xmlns:ng="http://angularjs.org" ng-controller="MyController" ng-app>
2525
<script src="http://code.angularjs.org/angular.min.js"></script>
2626
<body>
2727
...

docs/content/guide/dev_guide.expressions.ngdoc

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ You can try evaluating different expressions here:
6363
};
6464
}
6565
</script>
66-
<div ng:controller="Cntl2" class="expressions">
66+
<div ng-controller="Cntl2" class="expressions">
6767
Expression:
68-
<input type='text' ng:model="expr" size="80"/>
69-
<button ng:click="addExp(expr)">Evaluate</button>
68+
<input type='text' ng-model="expr" size="80"/>
69+
<button ng-click="addExp(expr)">Evaluate</button>
7070
<ul>
71-
<li ng:repeat="expr in exprs">
72-
[ <a href="" ng:click="removeExp($index)">X</a> ]
73-
<tt>{{expr}}</tt> => <span ng:bind="$parent.$eval(expr)"></span>
71+
<li ng-repeat="expr in exprs">
72+
[ <a href="" ng-click="removeExp($index)">X</a> ]
73+
<tt>{{expr}}</tt> => <span ng-bind="$parent.$eval(expr)"></span>
7474
</li>
7575
</ul>
7676
</div>
@@ -105,9 +105,9 @@ the global state (a common source of subtle bugs).
105105
}
106106
}
107107
</script>
108-
<div class="example2" ng:controller="Cntl1">
109-
Name: <input ng:model="name" type="text"/>
110-
<button ng:click="greet()">Greet</button>
108+
<div class="example2" ng-controller="Cntl1">
109+
Name: <input ng-model="name" type="text"/>
110+
<button ng-click="greet()">Greet</button>
111111
</div>
112112
</doc:source>
113113
<doc:scenario>
@@ -173,19 +173,19 @@ Extensions: You can further extend the expression vocabulary by adding new metho
173173

174174
<doc:example>
175175
<doc:source>
176-
<div ng:init="friends = [
176+
<div ng-init="friends = [
177177
{name:'John', phone:'555-1212'},
178178
{name:'Mary', phone:'555-9876'},
179179
{name:'Mike', phone:'555-4321'},
180180
{name:'Adam', phone:'555-5678'},
181181
{name:'Julie', phone:'555-8765'}]"></div>
182-
Search: <input ng:model="searchText"/>
182+
Search: <input ng-model="searchText"/>
183183
<table class="example3">
184184
<thead>
185185
<tr><th>Name</th><th>Phone</th><tr>
186186
</thead>
187187
<tbody>
188-
<tr ng:repeat="friend in friends | filter:searchText">
188+
<tr ng-repeat="friend in friends | filter:searchText">
189189
<td>{{friend.name}}</td>
190190
<td>{{friend.phone}}</td>
191191
</tr>
@@ -236,11 +236,6 @@ objects with additional behavior. By prefixing its additions with $ we are reser
236236
so that angular developers and developers who use angular can develop in harmony without collisions.
237237

238238

239-
## Related Topics
240-
241-
* {@link dev_guide.compiler.markup Understanding Angular Markup}
242-
* {@link dev_guide.templates.filters Understanding Angular Filters}
243-
244239
## Related API
245240

246241
* {@link api/angular.module.ng.$compile Angular Compiler API}

docs/content/guide/dev_guide.i18n.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ http://docs.angularjs.org/#!/api/angular.module.ng.$filter.number number} and {@
2222
http://docs.angularjs.org/#!/api/angular.module.ng.$filter.currency currency} filters.
2323

2424
Additionally, Angular supports localizable pluralization support provided by the {@link
25-
api/angular.module.ng.$compileProvider.directive.ng:pluralize ng:pluralize widget}.
25+
api/angular.module.ng.$compileProvider.directive.ng-pluralize ng-pluralize widget}.
2626

2727
All localizable Angular components depend on locale-specific rule sets managed by the {@link
2828
api/angular.module.ng.$locale $locale service}.
@@ -67,7 +67,7 @@ You can also include the locale specific js file in the index.html page. For exa
6767
requires German locale, you would serve index_de-ge.html which will look something like this:
6868

6969
<pre>
70-
<html ng:app>
70+
<html ng-app>
7171
<head>
7272
….
7373
<script src="angular.js"></script>

docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ template/view. This behavior interacts with and modifies the application model.
4242
As discussed in the {@link dev_guide.mvc.understanding_model Model} section of this guide, any
4343
objects (or primitives) assigned to the scope become model properties. Any functions assigned to
4444
the scope, along with any prototype methods of the controller type, become functions available in
45-
the template/view, and can be invoked via angular expressions and `ng:` event handlers (e.g. {@link
46-
api/angular.module.ng.$compileProvider.directive.ng:click ng:click}). These controller methods are always evaluated within the
45+
the template/view, and can be invoked via angular expressions and `ng-` event handlers (e.g. {@link
46+
api/angular.module.ng.$compileProvider.directive.ng-click ng-click}). These controller methods are always evaluated within the
4747
context of the angular scope object that the controller function was applied to (which means that
4848
the `this` keyword of any controller method is always bound to the scope that the controller
4949
augments). This is how the second task of adding behavior to the scope is accomplished.
@@ -65,8 +65,8 @@ Do not use controllers for:
6565
manipulation—the presentation logic of an application—is well known for being hard to test.
6666
Putting any presentation logic into controllers significantly affects testability of the business
6767
logic. Angular offers {@link dev_guide.templates.databinding} for automatic DOM manipulation. If
68-
you have to perform your own manual DOM manipulation, encapsulate the presentation logic in {@link
69-
dev_guide.compiler.widgets widgets} and {@link dev_guide.compiler.directives directives}.
68+
you have to perform your own manual DOM manipulation, encapsulate the presentation logic in and
69+
{@link api/angular.module.ng.$compileProvider.directive directives}.
7070
- Input formatting — Use {@link dev_guide.forms angular form widgets} instead.
7171
- Output filtering — Use {@link dev_guide.templates.filters angular filters} instead.
7272
- Run stateless or stateful code shared across controllers — Use {@link dev_guide.services angular
@@ -78,7 +78,7 @@ instances).
7878
# Associating Controllers with Angular Scope Objects
7979

8080
You can associate controllers with scope objects explicitly via the {@link api/angular.module.ng.$rootScope.Scope#$new
81-
scope.$new} api or implicitly via the {@link api/angular.module.ng.$compileProvider.directive.ng:controller ng:controller
81+
scope.$new} api or implicitly via the {@link api/angular.module.ng.$compileProvider.directive.ng-controller ng-controller
8282
directive} or {@link api/angular.module.ng.$route $route service}.
8383

8484

@@ -99,9 +99,9 @@ string "very". Depending on which button is clicked, the `spice` model is set to
9999
## A Spicy Controller Example
100100

101101
<pre>
102-
<body ng:controller="SpicyCtrl">
103-
<button ng:click="chiliSpicy()">Chili</button>
104-
<button ng:click="jalapenoSpicy()">Jalapeño</button>
102+
<body ng-controller="SpicyCtrl">
103+
<button ng-click="chiliSpicy()">Chili</button>
104+
<button ng-click="jalapenoSpicy()">Jalapeño</button>
105105
<p>The food is {{spice}} spicy!</p>
106106
</body>
107107

@@ -119,7 +119,7 @@ SpicyCtrl.prototype.jalapenoSpicy = function() {
119119

120120
Things to notice in the example above:
121121

122-
- The `ng:controller` directive is used to (implicitly) create a scope for our template, and the
122+
- The `ng-controller` directive is used to (implicitly) create a scope for our template, and the
123123
scope is augmented (managed) by the `SpicyCtrl` controller.
124124
- `SpicyCtrl` is just a plain JavaScript function. As an (optional) naming convention the name
125125
starts with capital letter and ends with "Ctrl" or "Controller".
@@ -137,10 +137,10 @@ previous example.
137137
## Controller Method Arguments Example
138138

139139
<pre>
140-
<body ng:controller="SpicyCtrl">
141-
<input ng:model="customSpice" value="wasabi">
142-
<button ng:click="spicy('chili')">Chili</button>
143-
<button ng:click="spicy(customSpice)">Custom spice</button>
140+
<body ng-controller="SpicyCtrl">
141+
<input ng-model="customSpice" value="wasabi">
142+
<button ng-click="spicy('chili')">Chili</button>
143+
<button ng-click="spicy(customSpice)">Custom spice</button>
144144
<p>The food is {{spice}} spicy!</p>
145145
</body>
146146

@@ -164,11 +164,11 @@ Controller inheritance in angular is based on {@link api/angular.module.ng.$root
164164
have a look at an example:
165165

166166
<pre>
167-
<body ng:controller="MainCtrl">
167+
<body ng-controller="MainCtrl">
168168
<p>Good {{timeOfDay}}, {{name}}!</p>
169-
<div ng:controller="ChildCtrl">
169+
<div ng-controller="ChildCtrl">
170170
<p>Good {{timeOfDay}}, {{name}}!</p>
171-
<p ng:controller="BabyCtrl">Good {{timeOfDay}}, {{name}}!</p>
171+
<p ng-controller="BabyCtrl">Good {{timeOfDay}}, {{name}}!</p>
172172
</body>
173173

174174
function MainCtrl($scope) {
@@ -186,7 +186,7 @@ function BabyCtrl($scope) {
186186
}
187187
</pre>
188188

189-
Notice how we nested three `ng:controller` directives in our template. This template construct will
189+
Notice how we nested three `ng-controller` directives in our template. This template construct will
190190
result in 4 scopes being created for our view:
191191

192192
- The root scope

0 commit comments

Comments
 (0)