Skip to content

Commit aa99df9

Browse files
lgalfasopetebacondarwin
authored andcommitted
docs(*): fix dangling links
Fix many dangling links
1 parent 257a3f3 commit aa99df9

31 files changed

+87
-87
lines changed

docs/content/api/index.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Use ngSanitize to securely parse and manipulate HTML data in your application.
242242
</tr>
243243
<tr>
244244
<td>
245-
{@link ngTouch#filter Filters}
245+
{@link ngSanitize#filter Filters}
246246
</td>
247247
<td>
248248
The {@link ngSanitize.filter:linky linky filter} is used to turn URLs into HTML links within the provided string.

docs/content/error/$compile/ctreq.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Missing Required Controller
44
@description
55

6-
This error occurs when {@link ng.$compile HTML compiler} tries to process a directive that specifies the {@link ng.$compile#description_comprehensive-directive-api_directive-definition-object `require` option} in a {@link ng.$compile#description_comprehensive-directive-api directive definition},
6+
This error occurs when {@link ng.$compile HTML compiler} tries to process a directive that specifies the {@link ng.$compile#directive-definition-object `require` option} in a {@link ng.$compile#comprehensive-directive-api directive definition},
77
but the required directive controller is not present on the current DOM element (or its ancestor element, if `^` was specified).
88

99
To resolve this error ensure that there is no typo in the required controller name and that the required directive controller is present on the current element.

docs/content/error/$compile/iscp.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ myModule.directive('directiveName', function factory() {
2121
});
2222
```
2323

24-
Please refer to the {@link ng.$compile#description_comprehensive-directive-api_directive-definition-object
24+
Please refer to the {@link ng.$compile#directive-definition-object
2525
`scope` option} of the directive definition documentation to learn more about the API.

docs/content/error/$compile/nonassign.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@description
55

66
This error occurs when a directive defines an isolate scope property
7-
(using the `=` mode in the {@link ng.$compile#description_comprehensive-directive-api_directive-definition-object
7+
(using the `=` mode in the {@link ng.$compile#directive-definition-object
88
`scope` option} of a directive definition) but the directive is used with an expression that is not-assignable.
99

1010
In order for the two-way data-binding to work, it must be possible to write new values back into the path defined with the expression.

docs/content/error/$injector/strictdi.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ angular.module("myApp", [])
5151
```
5252

5353
For more information about strict-di mode, see {@link ng.directive:ngApp ngApp}
54-
and {@link api/angular.bootstrap angular.bootstrap}.
54+
and {@link angular.bootstrap angular.bootstrap}.

docs/content/error/$location/nobase.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@description
55

66
If you configure {@link ng.$location `$location`} to use
7-
{@link api/ng.provider.$locationProvider `html5Mode`} (`history.pushState`), you need to specify the base URL for the application with a [`<base href="">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) tag or configure
7+
{@link $locationProvider `html5Mode`} (`history.pushState`), you need to specify the base URL for the application with a [`<base href="">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) tag or configure
88
`$locationProvider` to not require a base tag by passing a definition object with
99
`requireBase:false` to `$locationProvider.html5Mode()`:
1010

@@ -60,4 +60,4 @@ API](http://caniuse.com/#feat=history), the fallback mechanism provided by `$loc
6060
won't work well without specifying the base url of the application.
6161

6262
In order to make it easier to migrate from hashbang mode to html5 mode, we require that the base
63-
URL is always specified when `$location`'s `html5mode` is enabled.
63+
URL is always specified when `$location`'s `html5mode` is enabled.

docs/content/error/$sce/imatcher.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Invalid matcher (only string patterns and RegExp instances are supported)
44
@description
55

6-
Please see {@link ng.$sceDelegateProvider#resourceUrlWhitelist
6+
Please see {@link $sceDelegateProvider#resourceUrlWhitelist
77
$sceDelegateProvider.resourceUrlWhitelist} and {@link
8-
api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the
8+
$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the
99
list of acceptable items.

docs/content/error/$sce/iwcard.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName The sequence *** is not a valid pattern wildcard
44
@description
55

6-
The strings in {@link ng.$sceDelegateProvider#resourceUrlWhitelist
6+
The strings in {@link $sceDelegateProvider#resourceUrlWhitelist
77
$sceDelegateProvider.resourceUrlWhitelist} and {@link
8-
api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not
8+
$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not
99
contain the undefined sequence `***`. Only `*` and `**` wildcard patterns are defined.

docs/content/error/jqLite/nosel.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Unsupported Selector Lookup
44
@description
55

6-
In order to keep Angular small, Angular implements only a subset of the selectors in {@link angular.element#description_angulars-jqlite jqLite}.
6+
In order to keep Angular small, Angular implements only a subset of the selectors in {@link angular.element#angular-s-jqlite jqLite}.
77
This error occurs when a jqLite instance is invoked with a selector other than this subset.
88

99
In order to resolve this error, rewrite your code to only use tag name selectors and manually traverse the DOM using the APIs provided by jqLite.

docs/content/error/ng/cpi.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@description
55

66
This error occurs when attempting to copy an object to itself. Calling {@link
7-
api/angular.copy angular.copy} with a `destination` object deletes
7+
angular.copy angular.copy} with a `destination` object deletes
88
all of the elements or properties on `destination` before copying to it. Copying
99
an object to itself is not supported. Make sure to check your calls to
1010
`angular.copy` and avoid copying objects or arrays to themselves.

docs/content/guide/animations.ngdoc

+7-7
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ The table below explains in detail which animation events are triggered
245245

246246
| Directive | Supported Animations |
247247
|-------------------------------------------------------------------------------------|------------------------------------------|
248-
| {@link ng.directive:ngRepeat#usage_animations ngRepeat} | enter, leave, and move |
249-
| {@link ngRoute.directive:ngView#usage_animations ngView} | enter and leave |
250-
| {@link ng.directive:ngInclude#usage_animations ngInclude} | enter and leave |
251-
| {@link ng.directive:ngSwitch#usage_animations ngSwitch} | enter and leave |
252-
| {@link ng.directive:ngIf#usage_animations ngIf} | enter and leave |
253-
| {@link ng.directive:ngClass#usage_animations ngClass or &#123;&#123;class&#125;&#125;} | add and remove |
254-
| {@link ng.directive:ngShow#usage_animations ngShow & ngHide} | add and remove (the ng-hide class value) |
248+
| {@link ng.directive:ngRepeat#animations ngRepeat} | enter, leave, and move |
249+
| {@link ngRoute.directive:ngView#animations ngView} | enter and leave |
250+
| {@link ng.directive:ngInclude#animations ngInclude} | enter and leave |
251+
| {@link ng.directive:ngSwitch#animations ngSwitch} | enter and leave |
252+
| {@link ng.directive:ngIf#animations ngIf} | enter and leave |
253+
| {@link ng.directive:ngClass#animations ngClass or &#123;&#123;class&#125;&#125;} | add and remove |
254+
| {@link ng.directive:ngShow#animations ngShow & ngHide} | add and remove (the ng-hide class value) |
255255

256256
For a full breakdown of the steps involved during each animation event, refer to the {@link ngAnimate.$animate API docs}.
257257

docs/content/guide/css-styling.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Angular sets these CSS classes. It is up to your application to provide useful s
99
# CSS classes used by angular
1010

1111
* `ng-scope`
12-
- **Usage:** angular applies this class to any element for which a new {@link api/ng.$rootScope.Scope scope}
12+
- **Usage:** angular applies this class to any element for which a new {@link $rootScope scope}
1313
is defined. (see {@link guide/scope scope} guide for more information about scopes)
1414

1515
* `ng-binding`

docs/content/guide/directive.ngdoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ For example, we could fix the example above by instead writing:
180180
First let's talk about the {@link ng.$compileProvider#directive API for registering directives}. Much like
181181
controllers, directives are registered on modules. To register a directive, you use the
182182
`module.directive` API. `module.directive` takes the
183-
{@link guide/directive#creating-custom-directives_matching-directives normalized} directive name
183+
{@link guide/directive#matching-directives normalized} directive name
184184
followed by a **factory function.** This factory function should return an object with the different
185185
options to tell `$compile` how the directive should behave when matched.
186186

@@ -243,7 +243,7 @@ Let's create a directive that simply replaces its contents with a static templat
243243
Notice that we have bindings in this directive. After `$compile` compiles and links
244244
`<div my-customer></div>`, it will try to match directives on the element's children. This means you
245245
can compose directives of other directives. We'll see how to do that in
246-
{@link guide/directive#creating-custom-directives_demo_creating-directives-that-communicate an example}
246+
{@link guide/directive#creating-directives-that-communicate an example}
247247
below.
248248

249249
In the example above we in-lined the value of the `template` option, but this will become annoying
@@ -328,9 +328,9 @@ Let's change our directive to use `restrict: 'E'`:
328328
</example>
329329

330330
For more on the
331-
{@link ng.$compile#description_comprehensive-directive-api_directive-definition-object `restrict`}
331+
{@link ng.$compile#directive-definition-object `restrict`}
332332
property, see the
333-
{@link ng.$compile#description_comprehensive-directive-api_directive-definition-object API docs}.
333+
{@link ng.$compile#directive-definition-object API docs}.
334334

335335
<div class="alert alert-info">
336336
**When should I use an attribute versus an element?**
@@ -509,7 +509,7 @@ that you explicitly pass in.
509509

510510
<div class="alert alert-warning">
511511
**Note:** Normally, a scope prototypically inherits from its parent. An isolated scope does not.
512-
See the {@link api/ng/service/$compile#directive-definition-object
512+
See the {@link $compile#directive-definition-object
513513
"Directive Definition Object - scope"} section for more information about isolate scopes.
514514
</div>
515515

docs/content/guide/e2e-testing.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ filter the list of items.
7676

7777
## Example
7878
See the [angular-seed](https://github.com/angular/angular-seed) project for more examples, or look
79-
at the embedded examples in the Angular documentation (For example, [$http](http://docs.angularjs.org/api/ng/service/$http)
79+
at the embedded examples in the Angular documentation (For example, {@link $http $http}
8080
has an end to end test in the example under the `protractor.js` tag).
8181

8282
## Caveats

docs/content/guide/forms.ngdoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,11 @@ To get a hold of the controller the directive specifies a dependency as shown in
276276
The validation can occur in two places:
277277

278278
* **Model to View update** -
279-
Whenever the bound model changes, all functions in {@link ngModel.NgModelController#properties_$formatters NgModelController#$formatters} array are pipe-lined, so that each of these functions has an opportunity to format the value and change validity state of the form control through {@link ngModel.NgModelController#$setValidity NgModelController#$setValidity}.
279+
Whenever the bound model changes, all functions in {@link ngModel.NgModelController#$formatters NgModelController#$formatters} array are pipe-lined, so that each of these functions has an opportunity to format the value and change validity state of the form control through {@link ngModel.NgModelController#$setValidity NgModelController#$setValidity}.
280280

281281
* **View to Model update** -
282282
In a similar way, whenever a user interacts with a control it calls {@link ngModel.NgModelController#$setViewValue NgModelController#$setViewValue}.
283-
This in turn pipelines all functions in the {@link ngModel.NgModelController#properties_$parsers NgModelController#$parsers} array, so that each of these functions has an opportunity to convert the value and change validity state of the form control through {@link ngModel.NgModelController#$setValidity NgModelController#$setValidity}.
283+
This in turn pipelines all functions in the {@link ngModel.NgModelController#$parsers NgModelController#$parsers} array, so that each of these functions has an opportunity to convert the value and change validity state of the form control through {@link ngModel.NgModelController#$setValidity NgModelController#$setValidity}.
284284

285285
In the following example we create two directives.
286286

@@ -366,7 +366,7 @@ However, if you need more flexibility, you can write your own form control as a
366366

367367
In order for custom control to work with `ngModel` and to achieve two-way data-binding it needs to:
368368

369-
- implement `$render` method, which is responsible for rendering the data after it passed the {@link api/ng.directive:ngModel.NgModelController#properties_$formatters NgModelController#$formatters},
369+
- implement `$render` method, which is responsible for rendering the data after it passed the {@link ngModel.NgModelController#$formatters NgModelController#$formatters},
370370
- call `$setViewValue` method, whenever the user interacts with the control and model needs to be updated. This is usually done inside a DOM Event listener.
371371

372372
See {@link guide/directive $compileProvider.directive} for more info.

docs/content/guide/migration.ngdoc

+9-9
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ $httpProvider.interceptors.push('myHttpInterceptor');
194194
```
195195

196196
More details on the new interceptors API (which has been around as of v1.1.4) can be found at
197-
https://docs.angularjs.org/api/ng/service/$http#interceptors
197+
{@link $http#interceptors interceptors}
198198

199199

200200
- **injector:** due to [c0b4e2db](https://github.com/angular/angular.js/commit/c0b4e2db9cbc8bc3164cedc4646145d3ab72536e),
@@ -401,16 +401,16 @@ below should still apply, but you may want to consult the
401401
<li class="nav-header">Summary of Breaking Changes</li>
402402
<li>{@link guide/migration#ngroute-has-been-moved-into-its-own-module ngRoute has been moved into its own module}</li>
403403
<li>{@link guide/migration#templates-no-longer-automatically-unwrap-promises Templates no longer automatically unwrap promises}</li>
404-
<li>{@link guide/migration#syntax-for-named-wildcard-parameters-changed-in Syntax for named wildcard parameters changed in <code>$route</code>}</li>
405-
<li>{@link guide/migration#you-can-only-bind-one-expression-to You can only bind one expression to <code>*[src]</code>, <code>*[ng-src]</code> or <code>action</code>}</li>
404+
<li>{@link guide/migration#syntax-for-named-wildcard-parameters-changed-in-route- Syntax for named wildcard parameters changed in <code>$route</code>}</li>
405+
<li>{@link guide/migration#you-can-only-bind-one-expression-to-src-ng-src-or-action- You can only bind one expression to <code>*[src]</code>, <code>*[ng-src]</code> or <code>action</code>}</li>
406406
<li>{@link guide/migration#interpolations-inside-dom-event-handlers-are-now-disallowed Interpolations inside DOM event handlers are now disallowed}</li>
407-
<li>{@link guide/migration#directives-cannot-end-with--start-or--end Directives cannot end with -start or -end}</li>
408-
<li>{@link guide/migration#in-$q,-promisealways-has-been-renamed-promisefinally In $q, promise.always has been renamed promise.finally}</li>
407+
<li>{@link guide/migration#directives-cannot-end-with-start-or-end Directives cannot end with -start or -end}</li>
408+
<li>{@link guide/migration#in-q-promise-always-has-been-renamed-promise-finally In $q, promise.always has been renamed promise.finally}</li>
409409
<li>{@link guide/migration#ngmobile-is-now-ngtouch ngMobile is now ngTouch}</li>
410-
<li>{@link guide/migration#resource$then-has-been-removed resource.$then has been removed}</li>
410+
<li>{@link guide/migration#resource-then-has-been-removed resource.$then has been removed}</li>
411411
<li>{@link guide/migration#resource-methods-return-the-promise Resource methods return the promise}</li>
412412
<li>{@link guide/migration#resource-promises-are-resolved-with-the-resource-instance Resource promises are resolved with the resource instance}</li>
413-
<li>{@link guide/migration#$locationsearch-supports-multiple-keys $location.search supports multiple keys}</li>
413+
<li>{@link guide/migration#-location-search-supports-multiple-keys $location.search supports multiple keys}</li>
414414
<li>{@link guide/migration#ngbindhtmlunsafe-has-been-removed-and-replaced-by-ngbindhtml ngBindHtmlUnsafe has been removed and replaced by ngBindHtml}</li>
415415
<li>{@link guide/migration#form-names-that-are-expressions-are-evaluated Form names that are expressions are evaluated}</li>
416416
<li>{@link guide/migration#hasownproperty-disallowed-as-an-input-name hasOwnProperty disallowed as an input name}</li>
@@ -421,8 +421,8 @@ below should still apply, but you may want to consult the
421421
<li>{@link guide/migration#urls-are-now-sanitized-against-a-whitelist URLs are now sanitized against a whitelist}</li>
422422
<li>{@link guide/migration#isolate-scope-only-exposed-to-directives-with-scope-property Isolate scope only exposed to directives with <code>scope</code> property}</li>
423423
<li>{@link guide/migration#change-to-interpolation-priority Change to interpolation priority}</li>
424-
<li>{@link guide/migration#underscore-prefixed/suffixed-properties-are-non-bindable Underscore-prefixed/suffixed properties are non-bindable}</li>
425-
<li>{@link guide/migration#you-cannot-bind-to-select[multiple] You cannot bind to select[multiple]}</li>
424+
<li>{@link guide/migration#underscore-prefixed-suffixed-properties-are-non-bindable Underscore-prefixed/suffixed properties are non-bindable}</li>
425+
<li>{@link guide/migration#you-cannot-bind-to-select-multiple- You cannot bind to select[multiple]}</li>
426426
<li>{@link guide/migration#uncommon-region-specific-local-files-were-removed-from-i18n Uncommon region-specific local files were removed from i18n}</li>
427427
<li>{@link guide/migration#services-can-now-return-functions Services can now return functions}</li>
428428
</ul>

docs/content/guide/production.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Where the compiler has created a new scope, the scope and either `ng-scope` or `
2020
CSS class are attached to the corresponding element. These scope references can then be accessed via
2121
`element.scope()` and `element.isolateScope()`.
2222

23-
Tools like [Protractor](github.com/angular/protractor) and
23+
Tools like [Protractor](https://github.com/angular/protractor) and
2424
[Batarang](https://github.com/angular/angularjs-batarang) need this information to run,
2525
but you can disable this in production for a significant performance boost with:
2626

@@ -40,4 +40,4 @@ angular.reloadWithDebugInfo();
4040
The page should reload and the debug information should now be available.
4141

4242
For more see the docs pages on {@link ng.$compileProvider#debugInfoEnabled `$compileProvider`}
43-
and {@link ng/function/angular.reloadWithDebugInfo `angular.reloadWithDebugInfo`}.
43+
and {@link angular.reloadWithDebugInfo `angular.reloadWithDebugInfo`}.

0 commit comments

Comments
 (0)