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

Commit a564160

Browse files
docs(bike-shed-migration): fix url-based links refs to AUTO module
1 parent 06f2ba8 commit a564160

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+261
-261
lines changed

docs/content/error/cacheFactory/iid.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
@fullName Invalid ID
44
@description
55

6-
This error occurs when trying to create a new `cache` object via {@link api/ng.$cacheFactory} with an ID that was already used to create another cache object.
6+
This error occurs when trying to create a new `cache` object via {@link ng.$cacheFactory} with an ID that was already used to create another cache object.
77

88
To resolve the error please use a different cache ID when calling `$cacheFactory`.

docs/content/error/compile/ctreq.ngdoc

+3-3
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 api/ng.$compile HTML compiler} tries to process a directive that specifies the {@link api/ng.$compile#description_comprehensive-directive-api_directive-definition-object `require` option} in a {@link api/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#description_comprehensive-directive-api_directive-definition-object `require` option} in a {@link ng.$compile#description_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.
@@ -13,7 +13,7 @@ If the required controller is expected to be on a ancestor element, make ensure
1313
If the required controller is optionally requested, use `?` or `^?` to specify that.
1414

1515

16-
Example of a directive that requires {@link api/ng.directive:ngModel ngModel} controller:
16+
Example of a directive that requires {@link ng.directive:ngModel ngModel} controller:
1717
```
1818
myApp.directive('myDirective', function() {
1919
return {
@@ -29,7 +29,7 @@ This directive can then be used as:
2929
```
3030

3131

32-
Example of a directive that optionally requires a {@link api/ng.directive:form form} controller from an ancestor:
32+
Example of a directive that optionally requires a {@link ng.directive:form form} controller from an ancestor:
3333
```
3434
myApp.directive('myDirective', function() {
3535
return {

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 api/ng.$compile#description_comprehensive-directive-api_directive-definition-object
24+
Please refer to the {@link ng.$compile#description_comprehensive-directive-api_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 api/ng.$compile#description_comprehensive-directive-api_directive-definition-object
7+
(using the `=` mode in the {@link ng.$compile#description_comprehensive-directive-api_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/compile/selmulti.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
@fullName Binding to Multiple Attribute
44
@description
55

6-
Binding to the `multiple` attribute of `select` element is not supported since switching between multiple and single mode changes the {@link api/ng.directive:ngModel `ngModel`} object type from instance to array of instances which breaks the model semantics.
6+
Binding to the `multiple` attribute of `select` element is not supported since switching between multiple and single mode changes the {@link ng.directive:ngModel `ngModel`} object type from instance to array of instances which breaks the model semantics.
77

8-
If you need to use different types of `select` elements in your template based on some variable, please use {@link api/ng.directive:ngIf ngIf} or {@link api/ng.directive:ngSwitch ngSwitch} directives to select one of them to be used at runtime.
8+
If you need to use different types of `select` elements in your template based on some variable, please use {@link ng.directive:ngIf ngIf} or {@link ng.directive:ngSwitch ngSwitch} directives to select one of them to be used at runtime.
99

1010

1111
Example with invalid usage:

docs/content/error/compile/tpload.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
@fullName Error Loading Template
44
@description
55

6-
This error occurs when {@link api/ng.$compile `$compile`} attempts to fetch a template from some URL, and the request fails.
6+
This error occurs when {@link ng.$compile `$compile`} attempts to fetch a template from some URL, and the request fails.
77

88
To resolve this error, ensure that the URL of the template is spelled correctly and resolves to correct absolute URL.
99
The [Chrome Developer Tools](https://developers.google.com/chrome-developer-tools/docs/network#network_panel_overview) might also be helpful in determining why the request failed.
1010

11-
If you are using {@link api/ng.$templateCache} to pre-load templates, ensure that the cache was populated with the template.
11+
If you are using {@link ng.$templateCache} to pre-load templates, ensure that the cache was populated with the template.

docs/content/error/controller/noscp.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Missing $scope object
44
@description
55

6-
This error occurs when {@link api/ng.$controller $controller} service is called in order to instantiate a new controller but no scope is provided via `$scope` property of the locals map.
6+
This error occurs when {@link ng.$controller $controller} service is called in order to instantiate a new controller but no scope is provided via `$scope` property of the locals map.
77

88
Example of incorrect usage that leads to this error:
99
```
@@ -18,4 +18,4 @@ To fix the example above please provide a scope to the $controller call:
1818
$controller(MyController, {$scope, newScope});
1919
```
2020

21-
Please consult the {@link api/ng.$controller $controller} service api docs to learn more.
21+
Please consult the {@link ng.$controller $controller} service api docs to learn more.

docs/content/error/injector/cdep.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Circular Dependency
44
@description
55

6-
This error occurs when the {@link api/angular.injector $injector} tries to get
6+
This error occurs when the {@link angular.injector $injector} tries to get
77
a service that depends on itself, either directly or indirectly. To fix this,
88
construct your dependency chain such that there are no circular dependencies.
99

docs/content/error/injector/modulerr.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ message above should provide additional context.
88

99
In AngularJS `1.2.0` and later, `ngRoute` has been moved to its own module.
1010
If you are getting this error after upgrading to `1.2.x`, be sure that you've
11-
installed {@link api/ngRoute `ngRoute`}.
11+
installed {@link ngRoute `ngRoute`}.

docs/content/error/injector/nomod.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
This error occurs when trying to "re-open" a module that has not yet been defined.
77

8-
To define a new module, call {@link api/angular.module angular.module} with a name
8+
To define a new module, call {@link angular.module angular.module} with a name
99
and an array of dependent modules, like so:
1010

1111
```

docs/content/error/injector/pget.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ angular.module("myApp", [])
2222
.provider('good', GoodProvider);
2323
```
2424

25-
For more information, refer to the {@link api/AUTO.$provide#methods_provider
25+
For more information, refer to the {@link auto.$provide#methods_provider
2626
$provide.provider} api doc.

docs/content/error/interpolate/noconcat.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ it hard to reason about whether some combination of concatenated values are
99
unsafe to use and could easily lead to XSS.
1010

1111
For more information about how AngularJS helps keep your app secure, refer to
12-
the {@link api/ng.$sce $sce} API doc.
12+
the {@link ng.$sce $sce} API doc.

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 api/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#description_angulars-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/location/ihshprfx.ngdoc

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

6-
This error occurs when {@link api/ng.$location $location} service is configured to use a hash prefix but this prefix was not present in a url that the `$location` service was asked to parse.
6+
This error occurs when {@link ng.$location $location} service is configured to use a hash prefix but this prefix was not present in a url that the `$location` service was asked to parse.
77

88
For example if you configure `$location` service with prefix `'!'`:
99
```

docs/content/error/location/ipthprfx.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
@fullName Invalid or Missing Path Prefix
44
@description
55

6-
This error occurs when you configure the {@link api/ng.$location `$location`} service in the html5 mode, specify a base url for your application via `<base>` element and try to update the location with a path that doesn't match the base prefix.
6+
This error occurs when you configure the {@link ng.$location `$location`} service in the html5 mode, specify a base url for your application via `<base>` element and try to update the location with a path that doesn't match the base prefix.
77

88
To resolve this issue, please check the base url specified via the `<base>` tag in the head of your main html document, as well as the url that you tried to set the location to.

docs/content/error/location/isrcharg.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
To resolve this error, ensure that the first argument for the `$location.search` call is a `string` or an object.
77
You can use the stack trace associated with this error to identify the call site that caused this issue.
88

9-
To learn more, please consult the {@link api/ng.$location `$location`} api docs.
9+
To learn more, please consult the {@link ng.$location `$location`} api docs.

docs/content/error/ngModel/nonassign.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Non-Assignable Expression
44
@description
55

6-
This error occurs when expression the {@link api/ng.directive:ngModel ngModel} directive is bound to is a non-assignable expression.
6+
This error occurs when expression the {@link ng.directive:ngModel ngModel} directive is bound to is a non-assignable expression.
77

88
Examples using assignable expressions include:
99

@@ -24,4 +24,4 @@ Examples of non-assignable expressions include:
2424

2525
Always make sure that the expression bound via `ngModel` directive can be assigned to.
2626

27-
For more information, see the {@link api/ng.directive:ngModel ngModel API doc}.
27+
For more information, see the {@link ng.directive:ngModel ngModel API doc}.

docs/content/error/ngOptions/iexp.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Here's an example of correct syntax:
1010
<select ng-model="color" ng-options="c.name for c in colors">
1111
```
1212

13-
For more information on valid expression syntax, see 'ngOptions' in {@link api/ng.directive:select select} directive docs.
13+
For more information on valid expression syntax, see 'ngOptions' in {@link ng.directive:select select} directive docs.

docs/content/error/ngPattern/noregexp.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
@description
55
This error occurs when 'ngPattern' is passed an expression that isn't a regular expression or doesn't have the expected format.
66

7-
For more information on valid expression syntax, see 'ngPattern' in {@link api/ng.directive:input input} directive docs.
7+
For more information on valid expression syntax, see 'ngPattern' in {@link ng.directive:input input} directive docs.

docs/content/error/ngRepeat/dupes.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Duplicate Key in Repeater
44
@description
55

6-
Occurs if there are duplicate keys in an {@link api/ng.directive:ngRepeat ngRepeat} expression. Duplicate keys are banned because AngularJS uses keys to associate DOM nodes with items.
6+
Occurs if there are duplicate keys in an {@link ng.directive:ngRepeat ngRepeat} expression. Duplicate keys are banned because AngularJS uses keys to associate DOM nodes with items.
77

88
By default, collections are keyed by reference which is desirable for most common models but can be problematic for primitive types that are interned (share references).
99

docs/content/error/ngRepeat/iexp.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
@fullName Invalid Expression
44
@description
55

6-
Occurs when there is a syntax error in an {@link api/ng.directive:ngRepeat ngRepeat}'s expression. The expression should be in the form '_item_ in _collection_[ track by _id_]'.
6+
Occurs when there is a syntax error in an {@link ng.directive:ngRepeat ngRepeat}'s expression. The expression should be in the form '_item_ in _collection_[ track by _id_]'.
77

88
Be aware, the ngRepeat directive parses the expression using a regex before sending _collection_ and optionally _id_ to the AngularJS parser. This error comes from the regex parsing.
99

1010
To resolve, identify and fix errors in the expression, paying special attention to the 'in' and 'track by' keywords in the expression.
1111

12-
Please consult the api documentation of {@link api/ng.directive:ngRepeat ngRepeat} to learn more about valid syntax.
12+
Please consult the api documentation of {@link ng.directive:ngRepeat ngRepeat} to learn more about valid syntax.

docs/content/error/ngRepeat/iidexp.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Invalid Identifier
44
@description
55

6-
Occurs when there is an error in the identifier part of {@link api/ng.directive:ngRepeat ngRepeat}'s expression.
6+
Occurs when there is an error in the identifier part of {@link ng.directive:ngRepeat ngRepeat}'s expression.
77

88
To resolve, use either a valid identifier or a tuple (_key_, _value_) where both _key_ and _value_ are valid identifiers.
99

@@ -22,4 +22,4 @@ Examples of *valid* syntax:
2222
<div ng-repeat="(id, user) in userMap"></div>
2323
```
2424

25-
Please consult the api documentation of {@link api/ng.directive:ngRepeat ngRepeat} to learn more about valid syntax.
25+
Please consult the api documentation of {@link ng.directive:ngRepeat ngRepeat} to learn more about valid syntax.

docs/content/error/resource/badargs.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Too Many Arguments
44
@description
55

6-
This error occurs when specifying too many arguments to a {@link api/ngResource.$resource `$resource`} action, such as `get`, `query` or any user-defined custom action.
6+
This error occurs when specifying too many arguments to a {@link ngResource.$resource `$resource`} action, such as `get`, `query` or any user-defined custom action.
77
These actions may take up to 4 arguments.
88

9-
For more information, refer to the {@link api/ngResource.$resource `$resource`} API reference documentation.
9+
For more information, refer to the {@link ngResource.$resource `$resource`} API reference documentation.

docs/content/error/resource/badcfg.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
@fullName Response does not match configured parameter
44
@description
55

6-
This error occurs when the {@link api/ngResource.$resource `$resource`} service expects a response that can be deserialized as an array, receives an object, or vice versa.
6+
This error occurs when the {@link ngResource.$resource `$resource`} service expects a response that can be deserialized as an array, receives an object, or vice versa.
77
By default, all resource actions expect objects, except `query` which expects arrays.
88

99
To resolve this error, make sure your `$resource` configuration matches the actual format of the data returned from the server.
1010

11-
For more information, see the {@link api/ngResource.$resource `$resource`} API reference documentation.
11+
For more information, see the {@link ngResource.$resource `$resource`} API reference documentation.

docs/content/error/rootScope/infdig.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ $scope.$watch('foo', function() {
1414
});
1515
```
1616

17-
The maximum number of allowed iterations of the `$digest` cycle is controlled via TTL setting which can be configured via {@link api/ng.$rootScopeProvider $rootScopeProvider}.
17+
The maximum number of allowed iterations of the `$digest` cycle is controlled via TTL setting which can be configured via {@link ng.$rootScopeProvider $rootScopeProvider}.

docs/content/error/rootScope/inprog.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ myApp.directive('myDirective', function() {
7171

7272
```
7373

74-
To learn more about Angular processing model please check out the {@link guide/concepts concepts doc} as well as the {@link api/ng.$rootScope.Scope api} doc.
74+
To learn more about Angular processing model please check out the {@link guide/concepts concepts doc} as well as the {@link ng.$rootScope.Scope api} doc.

docs/content/error/sce/icontext.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
@fullName Invalid / Unknown SCE context
44
@description
55

6-
The context enum passed to {@link api/ng.$sce#methods_trustAs $sce.trustAs} was not recognized.
6+
The context enum passed to {@link ng.$sce#methods_trustAs $sce.trustAs} was not recognized.
77

8-
Please consult the list of {@link api/ng.$sce#contexts supported Strict Contextual Escaping (SCE) contexts}.
8+
Please consult the list of {@link ng.$sce#contexts supported Strict Contextual Escaping (SCE) contexts}.

docs/content/error/sce/iequirks.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName IE8 in quirks mode is unsupported
44
@description
55

6-
This error occurs when you are using AngularJS with {@link api/ng.$sce Strict Contextual Escaping (SCE)} mode enabled (the default) on IE8 or lower in quirks mode.
6+
This error occurs when you are using AngularJS with {@link ng.$sce Strict Contextual Escaping (SCE)} mode enabled (the default) on IE8 or lower in quirks mode.
77

88
In this mode, IE8 allows one to execute arbitrary javascript by the use of the `expression()` syntax and is not supported.
99
Refer

docs/content/error/sce/imatcher.ngdoc

+1-1
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 api/ng.$sceDelegateProvider#methods_resourceUrlWhitelist
6+
Please see {@link ng.$sceDelegateProvider#methods_resourceUrlWhitelist
77
$sceDelegateProvider.resourceUrlWhitelist} and {@link
88
api/ng.$sceDelegateProvider#methods_resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the
99
list of acceptable items.

docs/content/error/sce/insecurl.ngdoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
@fullName Processing of a Resource from Untrusted Source Blocked
44
@description
55

6-
AngularJS' {@link api/ng.$sce Strict Contextual Escaping (SCE)} mode (enabled by default) has blocked loading a resource from an insecure URL.
6+
AngularJS' {@link ng.$sce Strict Contextual Escaping (SCE)} mode (enabled by default) has blocked loading a resource from an insecure URL.
77

88
Typically, this would occur if you're attempting to load an Angular template from an untrusted source.
99
It's also possible that a custom directive threw this error for a similar reason.
1010

11-
Angular only loads templates from trusted URLs (by calling {@link api/ng.$sce#methods_getTrustedResourceUrl $sce.getTrustedResourceUrl} on the template URL).
11+
Angular only loads templates from trusted URLs (by calling {@link ng.$sce#methods_getTrustedResourceUrl $sce.getTrustedResourceUrl} on the template URL).
1212

1313
By default, only URLs that belong to the same origin are trusted. These are urls with the same domain and protocol as the application document.
1414

15-
The {@link api/ng.directive:ngInclude ngInclude} directive and {@link guide/directive directives} that specify a `templateUrl` require a trusted resource URL.
15+
The {@link ng.directive:ngInclude ngInclude} directive and {@link guide/directive directives} that specify a `templateUrl` require a trusted resource URL.
1616

1717
To load templates from other domains and/or protocols, either adjust the {@link
1818
api/ng.$sceDelegateProvider#methods_resourceUrlWhitelist whitelist}/ {@link

docs/content/error/sce/itype.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
@fullName String Value is Required for SCE Trust Call
44
@description
55

6-
{@link api/ng.$sce#methods_trustAs $sce.trustAs} requires a string value.
6+
{@link ng.$sce#methods_trustAs $sce.trustAs} requires a string value.
77

8-
Read more about {@link api/ng.$sce Strict Contextual Escaping (SCE)} in AngularJS.
8+
Read more about {@link ng.$sce Strict Contextual Escaping (SCE)} in AngularJS.

docs/content/error/sce/iwcard.ngdoc

+1-1
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 api/ng.$sceDelegateProvider#methods_resourceUrlWhitelist
6+
The strings in {@link ng.$sceDelegateProvider#methods_resourceUrlWhitelist
77
$sceDelegateProvider.resourceUrlWhitelist} and {@link
88
api/ng.$sceDelegateProvider#methods_resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not
99
contain the undefined sequence `***`. Only `*` and `**` wildcard patterns are defined.

docs/content/error/sce/unsafe.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
The value provided for use in a specific context was not found to be safe/trusted for use.
77

8-
Angular's {@link api/ng.$sce Strict Contextual Escaping (SCE)} mode
8+
Angular's {@link ng.$sce Strict Contextual Escaping (SCE)} mode
99
(enabled by default), requires bindings in certain
1010
contexts to result in a value that is trusted as safe for use in such a context. (e.g. loading an
1111
Angular template from a URL requires that the URL is one considered safe for loading resources.)

0 commit comments

Comments
 (0)