aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-12 22:47:42 +0000
committerPeter Bacon Darwin2014-02-16 19:03:41 +0000
commita564160511bf1bbed5a4fe5d2981fae1bb664eca (patch)
tree16fe76a5c8a4e75c50db5f15224f1b954060cd38 /src/ng
parent06f2ba899fac8ad004bf65dce39a3b05e2387c0f (diff)
downloadangular.js-a564160511bf1bbed5a4fe5d2981fae1bb664eca.tar.bz2
docs(bike-shed-migration): fix url-based links refs to AUTO module
Diffstat (limited to 'src/ng')
-rw-r--r--src/ng/compile.js12
-rw-r--r--src/ng/directive/ngInit.js4
-rw-r--r--src/ng/directive/ngRepeat.js2
-rw-r--r--src/ng/directive/script.js6
-rw-r--r--src/ng/http.js4
5 files changed, 14 insertions, 14 deletions
diff --git a/src/ng/compile.js b/src/ng/compile.js
index f4836538..954c22eb 100644
--- a/src/ng/compile.js
+++ b/src/ng/compile.js
@@ -108,7 +108,7 @@
*
* ### Directive Definition Object
*
- * The directive definition object provides instructions to the {@link api/ng.$compile
+ * The directive definition object provides instructions to the {@link ng.$compile
* compiler}. The attributes are:
*
* #### `priority`
@@ -243,7 +243,7 @@
*
* #### `transclude`
* compile the content of the element and make it available to the directive.
- * Typically used with {@link api/ng.directive:ngTransclude
+ * Typically used with {@link ng.directive:ngTransclude
* ngTransclude}. The advantage of transclusion is that the linking function receives a
* transclusion function which is pre-bound to the correct scope. In a typical setup the widget
* creates an `isolate` scope, but the transclusion is not a child, but a sibling of the `isolate`
@@ -264,7 +264,7 @@
* template transformation, it is not used often. Examples that require compile functions are
* directives that transform template DOM, such as {@link
* api/ng.directive:ngRepeat ngRepeat}, or load the contents
- * asynchronously, such as {@link api/ngRoute.directive:ngView ngView}. The
+ * asynchronously, such as {@link ngRoute.directive:ngView ngView}. The
* compile function takes the following arguments.
*
* * `tElement` - template element - The element where the directive has been declared. It is
@@ -309,8 +309,8 @@
* executed after the template has been cloned. This is where most of the directive logic will be
* put.
*
- * * `scope` - {@link api/ng.$rootScope.Scope Scope} - The scope to be used by the
- * directive for registering {@link api/ng.$rootScope.Scope#methods_$watch watches}.
+ * * `scope` - {@link ng.$rootScope.Scope Scope} - The scope to be used by the
+ * directive for registering {@link ng.$rootScope.Scope#methods_$watch watches}.
*
* * `iElement` - instance element - The element where the directive is to be used. It is safe to
* manipulate the children of the element only in `postLink` function since the children have
@@ -341,7 +341,7 @@
* <a name="Attributes"></a>
* ### Attributes
*
- * The {@link api/ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the
+ * The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the
* `link()` or `compile()` functions. It has a variety of uses.
*
* accessing *Normalized attribute names:*
diff --git a/src/ng/directive/ngInit.js b/src/ng/directive/ngInit.js
index 6371733d..56426eca 100644
--- a/src/ng/directive/ngInit.js
+++ b/src/ng/directive/ngInit.js
@@ -11,12 +11,12 @@
*
* <div class="alert alert-error">
* The only appropriate use of `ngInit` is for aliasing special properties of
- * {@link api/ng.directive:ngRepeat `ngRepeat`}, as seen in the demo below. Besides this case, you
+ * {@link ng.directive:ngRepeat `ngRepeat`}, as seen in the demo below. Besides this case, you
* should use {@link guide/controller controllers} rather than `ngInit`
* to initialize values on a scope.
* </div>
* <div class="alert alert-warning">
- * **Note**: If you have assignment in `ngInit` along with {@link api/ng.$filter `$filter`}, make
+ * **Note**: If you have assignment in `ngInit` along with {@link ng.$filter `$filter`}, make
* sure you have parenthesis for correct precedence:
* <pre class="prettyprint">
* <div ng-init="test1 = (data | orderBy:'name')"></div>
diff --git a/src/ng/directive/ngRepeat.js b/src/ng/directive/ngRepeat.js
index 41146fdc..4fa82de3 100644
--- a/src/ng/directive/ngRepeat.js
+++ b/src/ng/directive/ngRepeat.js
@@ -20,7 +20,7 @@
* | `$even` | {@type boolean} | true if the iterator position `$index` is even (otherwise false). |
* | `$odd` | {@type boolean} | true if the iterator position `$index` is odd (otherwise false). |
*
- * Creating aliases for these properties is possible with {@link api/ng.directive:ngInit `ngInit`}.
+ * Creating aliases for these properties is possible with {@link ng.directive:ngInit `ngInit`}.
* This may be useful when, for instance, nesting ngRepeats.
*
* # Special repeat start and end points
diff --git a/src/ng/directive/script.js b/src/ng/directive/script.js
index e811617a..43a7bd96 100644
--- a/src/ng/directive/script.js
+++ b/src/ng/directive/script.js
@@ -6,9 +6,9 @@
* @restrict E
*
* @description
- * Load the content of a `<script>` element into {@link api/ng.$templateCache `$templateCache`}, so that the
- * template can be used by {@link api/ng.directive:ngInclude `ngInclude`},
- * {@link api/ngRoute.directive:ngView `ngView`}, or {@link guide/directive directives}. The type of the
+ * Load the content of a `<script>` element into {@link ng.$templateCache `$templateCache`}, so that the
+ * template can be used by {@link ng.directive:ngInclude `ngInclude`},
+ * {@link ngRoute.directive:ngView `ngView`}, or {@link guide/directive directives}. The type of the
* `<script>` element must be specified as `text/ng-template`, and a cache name for the template must be
* assigned through the element's `id`, which can then be used as a directive's `templateUrl`.
*
diff --git a/src/ng/http.js b/src/ng/http.js
index b2dca1d4..81e46970 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -225,8 +225,8 @@ function $HttpProvider() {
* called for such responses.
*
* # Writing Unit Tests that use $http
- * When unit testing (using {@link api/ngMock ngMock}), it is necessary to call
- * {@link api/ngMock.$httpBackend#methods_flush $httpBackend.flush()} to flush each pending
+ * When unit testing (using {@link ngMock ngMock}), it is necessary to call
+ * {@link ngMock.$httpBackend#methods_flush $httpBackend.flush()} to flush each pending
* request using trained responses.
*
* ```