aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-14 14:12:13 +0000
committerPeter Bacon Darwin2014-02-16 19:03:43 +0000
commitd85505d0194e6aa2cfe24aea51afe12a09ba73d2 (patch)
treed9357a6298962948f77af4187a43616f284ff4df /src
parentdaa83f2864cbcdce9fa650bba363334824ff5859 (diff)
downloadangular.js-d85505d0194e6aa2cfe24aea51afe12a09ba73d2.tar.bz2
docs(content): fix bad links
Diffstat (limited to 'src')
-rw-r--r--src/ng/directive/form.js2
-rw-r--r--src/ng/directive/input.js16
-rw-r--r--src/ng/exceptionHandler.js2
-rw-r--r--src/ng/http.js3
-rw-r--r--src/ng/httpBackend.js1
-rw-r--r--src/ng/location.js2
-rw-r--r--src/ng/timeout.js1
-rw-r--r--src/ngCookies/cookies.js1
8 files changed, 11 insertions, 17 deletions
diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js
index b6919836..b55eec6d 100644
--- a/src/ng/directive/form.js
+++ b/src/ng/directive/form.js
@@ -226,7 +226,7 @@ function FormController(element, attrs) {
*
* @description
* Directive that instantiates
- * {@link ng.directive:form.FormController FormController}.
+ * {@link form.FormController FormController}.
*
* If the `name` attribute is specified, the form controller is published onto the current scope under
* this name.
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index c7983d16..a617af6d 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -854,7 +854,7 @@ var VALID_CLASS = 'ng-valid',
the control reads value from the DOM. Each function is called, in turn, passing the value
through to the next. Used to sanitize / convert the value as well as validation.
For validation, the parsers should update the validity state using
- {@link ng.directive:ngModel.NgModelController#methods_$setValidity $setValidity()},
+ {@link ngModel.NgModelController#$setValidity $setValidity()},
and return `undefined` for invalid values.
*
@@ -1191,7 +1191,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
*
* @description
* The `ngModel` directive binds an `input`,`select`, `textarea` (or custom form control) to a
- * property on the scope using {@link ng.directive:ngModel.NgModelController NgModelController},
+ * property on the scope using {@link ngModel.NgModelController NgModelController},
* which is created and exposed by this directive.
*
* `ngModel` is responsible for:
@@ -1214,12 +1214,12 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
* For basic examples, how to use `ngModel`, see:
*
* - {@link ng.directive:input input}
- * - {@link ng.directive:input.text text}
- * - {@link ng.directive:input.checkbox checkbox}
- * - {@link ng.directive:input.radio radio}
- * - {@link ng.directive:input.number number}
- * - {@link ng.directive:input.email email}
- * - {@link ng.directive:input.url url}
+ * - {@link input[text] text}
+ * - {@link input[checkbox] checkbox}
+ * - {@link input[radio] radio}
+ * - {@link input[number] number}
+ * - {@link input[email] email}
+ * - {@link input[url] url}
* - {@link ng.directive:select select}
* - {@link ng.directive:textarea textarea}
*
diff --git a/src/ng/exceptionHandler.js b/src/ng/exceptionHandler.js
index c2c77f64..342f38fc 100644
--- a/src/ng/exceptionHandler.js
+++ b/src/ng/exceptionHandler.js
@@ -3,7 +3,7 @@
/**
* @ngdoc service
* @name $exceptionHandler
- * @requires $log
+ * @requires ng.$log
*
* @description
* Any uncaught exception in angular expressions is delegated to this service.
diff --git a/src/ng/http.js b/src/ng/http.js
index 81112bde..7d9a82be 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -174,8 +174,7 @@ function $HttpProvider() {
* @ngdoc service
* @kind function
* @name $http
- * @requires $httpBackend
- * @requires $browser
+ * @requires ng.$httpBackend
* @requires $cacheFactory
* @requires $rootScope
* @requires $q
diff --git a/src/ng/httpBackend.js b/src/ng/httpBackend.js
index 415cd19f..c3805e35 100644
--- a/src/ng/httpBackend.js
+++ b/src/ng/httpBackend.js
@@ -17,7 +17,6 @@ function createXhr(method) {
/**
* @ngdoc service
* @name $httpBackend
- * @requires $browser
* @requires $window
* @requires $document
*
diff --git a/src/ng/location.js b/src/ng/location.js
index 3a53ee1b..f22848e9 100644
--- a/src/ng/location.js
+++ b/src/ng/location.js
@@ -489,8 +489,6 @@ function locationGetterSetter(property, preprocess) {
* @ngdoc service
* @name $location
*
- * @requires $browser
- * @requires $sniffer
* @requires $rootElement
*
* @description
diff --git a/src/ng/timeout.js b/src/ng/timeout.js
index ff87c93b..8bca2962 100644
--- a/src/ng/timeout.js
+++ b/src/ng/timeout.js
@@ -10,7 +10,6 @@ function $TimeoutProvider() {
/**
* @ngdoc service
* @name $timeout
- * @requires $browser
*
* @description
* Angular's wrapper for `window.setTimeout`. The `fn` function is wrapped into a try/catch
diff --git a/src/ngCookies/cookies.js b/src/ngCookies/cookies.js
index ec2f4a90..a94e241f 100644
--- a/src/ngCookies/cookies.js
+++ b/src/ngCookies/cookies.js
@@ -22,7 +22,6 @@ angular.module('ngCookies', ['ng']).
/**
* @ngdoc service
* @name $cookies
- * @requires $browser
*
* @description
* Provides read/write access to browser's cookies.