Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 0532aab

Browse files
committed
doc(guide): clean up broken links
1 parent f0be543 commit 0532aab

24 files changed

+53
-53
lines changed

docs/content/cookbook/form.ngdoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ allow a user to enter data.
108108
is going on.
109109
* The {@link api/angular.module.ng.$compileProvider.directive.input input directives} simply refer
110110
to the model and are data-bound.
111-
* The inputs {@link guide/dev_guide.forms validate}. (Try leaving them blank or entering non digits
112-
in the zip field)
111+
* The inputs validate. (Try leaving them blank or entering non digits in the zip field)
113112
* In your application you can simply read from or write to the model and the form will be updated.
114113
* By clicking the 'add' link you are adding new items into the `user.contacts` array which are then
115114
reflected in the view.

docs/content/guide/bootstrap.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ initialization.
4949
# Automatic Initialization
5050

5151
Angular initializes automatically upon `DOMContentLoaded` event, at which point angular looks for
52-
the {@link api/angular.module.ng.$compileProvider.directive.ng:app `ng-app`} directive which
52+
the {@link api/angular.module.ng.$compileProvider.directive.ngApp `ng-app`} directive which
5353
designates your application root. If {@link
5454
api/angular.module.ng.$compileProvider.directive.ng:app `ng-app`} directive is found then Angular
5555
will:
5656

5757
* load the {@link guide/module module} associated with the directive.
5858
* create the application {@link api/angular.module.AUTO.$injector injector}
59-
* compile the DOM treating the {@link api/angular.module.ng.$compileProvider.directive.ng:app
59+
* compile the DOM treating the {@link api/angular.module.ng.$compileProvider.directive.ngApp
6060
`ng-app`} directive as the root of the compilation. This allows you to tell it to treat only a
6161
portion of the DOM as an Angular application.
6262

@@ -82,7 +82,7 @@ or the need to perform an operation before the Angular compiles a page.
8282

8383

8484
Here is an example of manually initializing Angular. The example is equivalent to using the {@link
85-
api/angular.module.ng.$compileProvider.directive.ng:app ng:app} directive.
85+
api/angular.module.ng.$compileProvider.directive.ngApp ng-app} directive.
8686

8787
<pre>
8888
<!doctype html>

docs/content/guide/compiler.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ process happens into two phases.
3939
scope model are reflected in the view, and any user interactions with the view are reflected
4040
in the scope model. Making the scope model a single source of truth.
4141

42-
Some directives such {@link api/angular.module.ng.$compileProvider.directive.ng:repeat
42+
Some directives such {@link api/angular.module.ng.$compileProvider.directive.ngRepeat
4343
`ng-repeat`} clone DOM elements once for each item in collection. Having a compile and link phase
4444
improves performance since the cloned template only needs to be compiled once, and then linked
4545
once for each clone instance.
@@ -50,7 +50,7 @@ once for each clone instance.
5050
Directive is a behavior which should be triggered when specific HTML constructs are encountered in
5151
compilation process. The directives can be placed in element names, attributes, class names, as
5252
well as comments. Here are some equivalent examples of invoking {@link
53-
api/angular.module.ng.$compileProvider.directive.ng:bind `ng-bind`} directive.
53+
api/angular.module.ng.$compileProvider.directive.ngBind `ng-bind`} directive.
5454

5555
<pre>
5656
<span ng-bind="exp"></span>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Putting any presentation logic into controllers significantly affects testabilit
5858
logic. Angular offers {@link dev_guide.templates.databinding} for automatic DOM manipulation. If
5959
you have to perform your own manual DOM manipulation, encapsulate the presentation logic in
6060
{@link guide/directive directives}.
61-
- Input formatting — Use {@link dev_guide.forms angular form controls} instead.
61+
- Input formatting — Use {@link forms angular form controls} instead.
6262
- Output filtering — Use {@link dev_guide.templates.filters angular filters} instead.
6363
- Run stateless or stateful code shared across controllers — Use {@link dev_guide.services angular
6464
services} instead.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ occurs in controllers:
2626
$scope.foo = 'bar';
2727
}
2828

29-
* Use an {@link dev_guide.expressions angular expression} with an assignment operator in templates:
29+
* Use an {@link expression angular expression} with an assignment operator in templates:
3030

3131
<button ng-click="{{foos='ball'}}">Click me</button>
3232

docs/content/guide/dev_guide.services.creating_services.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ create this instance when called.
4949
# Dependencies
5050

5151
Services can not only be depended upon, but also have its own dependencies. These can be specified
52-
as arguments of the factory function. {@link di.understanding_di Read more} about the DI
52+
as arguments of the factory function. {@link di Read more} about the DI
5353
in Angular and the use of array notation and $inject property to make DI annotation
5454
minification-proof.
5555

docs/content/guide/dev_guide.templates.css-styling.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Angular sets these CSS classes. It is up to your application to provide useful s
2020
## Related Topics
2121

2222
* {@link dev_guide.templates Angular Templates}
23-
* {@link dev_guide.forms Angular Forms}
23+
* {@link forms Angular Forms}

docs/content/guide/dev_guide.templates.filters.creating_filters.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ text upper-case and assigns color.
5959
## Related Topics
6060

6161
* {@link dev_guide.templates.filters Understanding Angular Filters}
62-
* {@link dev_guide.compiler Angular HTML Compiler}
62+
* {@link compiler Angular HTML Compiler}
6363

6464
## Related API
6565

docs/content/guide/dev_guide.templates.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ These are the types of angular elements and element attributes you can use in a
1515
* {@link api/angular.module.ng.$interpolate Markup} — The double
1616
curly brace notation `{{ }}` to bind expressions to elements is built-in angular markup.
1717
* {@link dev_guide.templates.filters Filter} — Formats your data for display to the user.
18-
* {@link dev_guide.forms Form controls} — Lets you validate user input.
18+
* {@link forms Form controls} — Lets you validate user input.
1919

2020
Note: In addition to declaring the elements above in templates, you can also access these elements
2121
in JavaScript code.
2222

2323
The following code snippet shows a simple angular template made up of standard HTML tags along with
2424
angular {@link guide/directive directives} and curly-brace bindings
25-
with {@link dev_guide.expressions expressions}:
25+
with {@link expression expressions}:
2626

2727
<pre>
2828
<html ng-app>
@@ -50,7 +50,7 @@ eight.
5050
## Related Topics
5151

5252
* {@link dev_guide.templates.filters Angular Filters}
53-
* {@link dev_guide.forms Angular Forms}
53+
* {@link forms Angular Forms}
5454

5555
## Related API
5656

docs/content/guide/directive.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@ngdoc overview
2-
@name directive
2+
@name Directives
33
@description
44

55
Directives are a way to teach HTML new tricks. During DOM compilation directives are matched

docs/content/guide/index.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ of the following documents before returning here to the Developer Guide:
3030
## {@link dev_guide.templates Angular Templates}
3131

3232
* {@link dev_guide.templates.filters Understanding Angular Filters}
33-
* {@link dev_guide.forms Understanding Angular Forms}
33+
* {@link forms Understanding Angular Forms}
3434

3535
## {@link dev_guide.services Angular Services}
3636

docs/content/guide/scope.ngdoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ where the `department` property is defined.
164164
Scopes are attached to the DOM as `$scope` data property, and can be retrieved for debugging
165165
purposes. (It is unlikely that one would need to retrieve scopes in this way inside the
166166
application.) The location where the root scope is attached to the DOM is defined by the location
167-
of {@link api/angular.module.ng.$compileProvider.directive.ng:app `ng-app`} directive. Typically
167+
of {@link api/angular.module.ng.$compileProvider.directive.ngApp `ng-app`} directive. Typically
168168
`ng-app` is placed an the `<html>` element, but it can be placed on other elements as well, if,
169169
for example, only a portion of the view needs to be controlled by angular.
170170

@@ -228,7 +228,7 @@ modifications the execution has to enter the Angular execution context using the
228228
api/angular.module.ng.$rootScope.Scope#$apply `$apply`} method. Only model modifications which
229229
execute inside the `$apply` method will be properly accounted for by Angular. For example if a
230230
directive listens on DOM events, such as {@link
231-
api/angular.module.ng.$compileProvider.directive.ng:click `ng-click`} it must evaluate the
231+
api/angular.module.ng.$compileProvider.directive.ngClick `ng-click`} it must evaluate the
232232
expression inside the `$apply` method.
233233

234234
After evaluating the expression `$apply` method performs a {@link
@@ -287,8 +287,8 @@ usually fall into one of two categories:
287287
api/angular.module.ng.$rootScope.Scope#$watch $watch()} method. This type of directive needs
288288
to be notified whenever the expression changes so that it can update the view.
289289

290-
- Listener directives, such as {@link api/angular.module.ng.$compileProvider.directive.ng:click
291-
ng:click}, register a listener with the DOM. When the DOM listener fires, the directive
290+
- Listener directives, such as {@link api/angular.module.ng.$compileProvider.directive.ngClick
291+
ng-click}, register a listener with the DOM. When the DOM listener fires, the directive
292292
executes the associated expression and updates the view using the {@link
293293
api/angular.module.ng.$rootScope.Scope#$apply $apply()} method.
294294

@@ -301,8 +301,8 @@ correctly.
301301

302302
In most cases, {@link api/angular.module.ng.$compileProvider.directive directives} and scopes interact
303303
but do not create new instances of scope. However, some directives, such as {@link
304-
api/angular.module.ng.$compileProvider.directive.ng:controller ng:controller} and {@link
305-
api/angular.module.ng.$compileProvider.directive.ng:repeat ng:repeat}, create new child scopes
304+
api/angular.module.ng.$compileProvider.directive.ngController ng-controller} and {@link
305+
api/angular.module.ng.$compileProvider.directive.ngRepeat ng-repeat}, create new child scopes
306306
and attach the child scope to the corresponding DOM element. You can retrieve a scope for any DOM
307307
element by using an `angular.element(aDomElement).scope()` method call.
308308

@@ -311,14 +311,15 @@ element by using an `angular.element(aDomElement).scope()` method call.
311311
Scopes and controllers interact with each other in the following situations:
312312

313313
- Controllers use scopes to expose controller methods to templates (see {@link
314-
api/angular.module.ng.$compileProvider.directive.ng:controller ng:controller}).
314+
api/angular.module.ng.$compileProvider.directive.ngController ng-controller}).
315315

316316
- Controllers define methods (behavior) that can mutate the model (properties on the scope).
317317

318318
- Controllers may register {@link api/angular.module.ng.$rootScope.Scope#$watch watches} on
319319
the model. These watches execute immediately after the controller behavior executes.
320320

321-
See the {@link controller controller documentation} for more information.
321+
See the {@link api/angular.module.ng.$compileProvider.directive.ngController ng-controller} for more
322+
information.
322323

323324

324325
### Scope `$watch` Performance Considerations

docs/content/tutorial/step_00.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ being the element on which the `ngApp` directive was defined.
200200
binding will result in efficient continuous updates whenever the result of the expression
201201
evaluation changes.
202202

203-
{@link guide/dev_guide.expressions Angular expression} is a JavaScript-like code snippet that is
203+
{@link guide/expression Angular expression} is a JavaScript-like code snippet that is
204204
evaluated by Angular in the context of the current model scope, rather than within the scope of
205205
the global context (`window`).
206206

@@ -211,7 +211,7 @@ being the element on which the `ngApp` directive was defined.
211211

212212
Bootstrapping AngularJS apps automatically using the `ngApp` directive is very easy and suitable
213213
for most cases. In advanced cases, such as when using script loaders, you can use
214-
{@link guide/dev_guide.bootstrap.manual_bootstrap imperative / manual way} to bootstrap the app.
214+
{@link guide/bootstrap imperative / manual way} to bootstrap the app.
215215

216216
There are 3 important things that happen during the app bootstrap:
217217

docs/content/tutorial/step_02.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ __`app/index.html`:__
5353

5454
We replaced the hard-coded phone list with the
5555
{@link api/angular.module.ng.$compileProvider.directive.ngRepeat ngRepeat directive} and two
56-
{@link guide/dev_guide.expressions Angular expressions} enclosed in curly braces:
56+
{@link guide/expression Angular expressions} enclosed in curly braces:
5757
`{{phone.name}}` and `{{phone.snippet}}`:
5858

5959
* The `ng-repeat="phone in phones"` statement in the `<li>` tag is an Angular repeater. The

docs/content/tutorial/step_05.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Enough of building an app with three phones in a hard-coded dataset! Let's fetch a larger dataset
99
from our server using one of angular's built-in {@link api/angular.module.ng services} called {@link
10-
api/angular.module.ng.$http $http}. We will use angular's {@link guide/dev_guide.di dependency
10+
api/angular.module.ng.$http $http}. We will use angular's {@link guide/di dependency
1111
injection (DI)} to provide the service to the `PhoneListCtrl` controller.
1212

1313

@@ -47,7 +47,7 @@ request to your web server to fetch the data in the `app/phones/phones.json` fil
4747
one of several built-in {@link api/angular.module.ng angular services} that handle common operations
4848
in web apps. Angular injects these services for you where you need them.
4949

50-
Services are managed by angular's {@link guide/dev_guide.di DI subsystem}. Dependency injection
50+
Services are managed by angular's {@link guide/di DI subsystem}. Dependency injection
5151
helps to make your web apps both well-structured (e.g., separate components for presentation, data,
5252
and control) and loosely coupled (dependencies between components are not resolved by the
5353
components themselves, but by the DI subsystem).

src/ng/directive/ngBind.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
*
2424
* @element ANY
25-
* @param {expression} ngBind {@link guide/dev_guide.expressions Expression} to evaluate.
25+
* @param {expression} ngBind {@link guide/expression Expression} to evaluate.
2626
*
2727
* @example
2828
* Enter a name in the Live Preview text box; the greeting below the text box changes instantly.
@@ -127,7 +127,7 @@ var ngBindTemplateDirective = ['$interpolate', function($interpolate) {
127127
* See {@link angular.module.ngSanitize.$sanitize $sanitize} docs for examples.
128128
*
129129
* @element ANY
130-
* @param {expression} ngBindHtmlUnsafe {@link guide/dev_guide.expressions Expression} to evaluate.
130+
* @param {expression} ngBindHtmlUnsafe {@link guide/expression Expression} to evaluate.
131131
*/
132132
var ngBindHtmlUnsafeDirective = [function() {
133133
return function(scope, element, attr) {

src/ng/directive/ngClass.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function classDirective(name, selector) {
3131
* new classes are added.
3232
*
3333
* @element ANY
34-
* @param {expression} ngClass {@link guide/dev_guide.expressions Expression} to eval. The result
34+
* @param {expression} ngClass {@link guide/expression Expression} to eval. The result
3535
* of the evaluation can be a string representing space delimited class
3636
* names, an array, or a map of class names to boolean values.
3737
*
@@ -81,7 +81,7 @@ var ngClassDirective = classDirective('', true);
8181
* {@link angular.module.ng.$compileProvider.directive.ngRepeat ngRepeat}.
8282
*
8383
* @element ANY
84-
* @param {expression} ngClassOdd {@link guide/dev_guide.expressions Expression} to eval. The result
84+
* @param {expression} ngClassOdd {@link guide/expression Expression} to eval. The result
8585
* of the evaluation can be a string representing space delimited class names or an array.
8686
*
8787
* @example
@@ -128,7 +128,7 @@ var ngClassOddDirective = classDirective('Odd', 0);
128128
* {@link angular.module.ng.$compileProvider.directive.ngRepeat ngRepeat}.
129129
*
130130
* @element ANY
131-
* @param {expression} ngClassEven {@link guide/dev_guide.expressions Expression} to eval. The
131+
* @param {expression} ngClassEven {@link guide/expression Expression} to eval. The
132132
* result of the evaluation can be a string representing space delimited class names or an array.
133133
*
134134
* @example

src/ng/directive/ngController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @element ANY
2222
* @scope
2323
* @param {expression} ngController Name of a globally accessible constructor function or an
24-
* {@link guide/dev_guide.expressions expression} that on the current scope evaluates to a
24+
* {@link guide/expression expression} that on the current scope evaluates to a
2525
* constructor function.
2626
*
2727
* @example

src/ng/directive/ngEventDirs.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* element is clicked.
1010
*
1111
* @element ANY
12-
* @param {expression} ngClick {@link guide/dev_guide.expressions Expression} to evaluate upon
12+
* @param {expression} ngClick {@link guide/expression Expression} to evaluate upon
1313
* click. (Event object is available as `$event`)
1414
*
1515
* @example
@@ -61,7 +61,7 @@ forEach(
6161
* The `ngDblclick` directive allows you to specify custom behavior on dblclick event.
6262
*
6363
* @element ANY
64-
* @param {expression} ngDblclick {@link guide/dev_guide.expressions Expression} to evaluate upon
64+
* @param {expression} ngDblclick {@link guide/expression Expression} to evaluate upon
6565
* dblclick. (Event object is available as `$event`)
6666
*
6767
* @example
@@ -77,7 +77,7 @@ forEach(
7777
* The ngMousedown directive allows you to specify custom behavior on mousedown event.
7878
*
7979
* @element ANY
80-
* @param {expression} ngMousedown {@link guide/dev_guide.expressions Expression} to evaluate upon
80+
* @param {expression} ngMousedown {@link guide/expression Expression} to evaluate upon
8181
* mousedown. (Event object is available as `$event`)
8282
*
8383
* @example
@@ -93,7 +93,7 @@ forEach(
9393
* Specify custom behavior on mouseup event.
9494
*
9595
* @element ANY
96-
* @param {expression} ngMouseup {@link guide/dev_guide.expressions Expression} to evaluate upon
96+
* @param {expression} ngMouseup {@link guide/expression Expression} to evaluate upon
9797
* mouseup. (Event object is available as `$event`)
9898
*
9999
* @example
@@ -108,7 +108,7 @@ forEach(
108108
* Specify custom behavior on mouseover event.
109109
*
110110
* @element ANY
111-
* @param {expression} ngMouseover {@link guide/dev_guide.expressions Expression} to evaluate upon
111+
* @param {expression} ngMouseover {@link guide/expression Expression} to evaluate upon
112112
* mouseover. (Event object is available as `$event`)
113113
*
114114
* @example
@@ -124,7 +124,7 @@ forEach(
124124
* Specify custom behavior on mouseenter event.
125125
*
126126
* @element ANY
127-
* @param {expression} ngMouseenter {@link guide/dev_guide.expressions Expression} to evaluate upon
127+
* @param {expression} ngMouseenter {@link guide/expression Expression} to evaluate upon
128128
* mouseenter. (Event object is available as `$event`)
129129
*
130130
* @example
@@ -140,7 +140,7 @@ forEach(
140140
* Specify custom behavior on mouseleave event.
141141
*
142142
* @element ANY
143-
* @param {expression} ngMouseleave {@link guide/dev_guide.expressions Expression} to evaluate upon
143+
* @param {expression} ngMouseleave {@link guide/expression Expression} to evaluate upon
144144
* mouseleave. (Event object is available as `$event`)
145145
*
146146
* @example
@@ -156,7 +156,7 @@ forEach(
156156
* Specify custom behavior on mousemove event.
157157
*
158158
* @element ANY
159-
* @param {expression} ngMousemove {@link guide/dev_guide.expressions Expression} to evaluate upon
159+
* @param {expression} ngMousemove {@link guide/expression Expression} to evaluate upon
160160
* mousemove. (Event object is available as `$event`)
161161
*
162162
* @example
@@ -175,7 +175,7 @@ forEach(
175175
* server and reloading the current page).
176176
*
177177
* @element form
178-
* @param {expression} ngSubmit {@link guide/dev_guide.expressions Expression} to eval.
178+
* @param {expression} ngSubmit {@link guide/expression Expression} to eval.
179179
*
180180
* @example
181181
<doc:example>

src/ng/directive/ngInit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* before the template enters execution mode during bootstrap.
1010
*
1111
* @element ANY
12-
* @param {expression} ngInit {@link guide/dev_guide.expressions Expression} to eval.
12+
* @param {expression} ngInit {@link guide/expression Expression} to eval.
1313
*
1414
* @example
1515
<doc:example>

0 commit comments

Comments
 (0)