aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/input.js
diff options
context:
space:
mode:
authorVojta Jina2013-10-17 19:25:08 -0700
committerIgor Minar2013-10-18 15:35:41 -0700
commit14438058da39c3e523f420549074934ca5881b09 (patch)
treeacc97d90025e9d80f9869012554763233f412caf /src/ng/directive/input.js
parente8cc85f733a49ca53e8cda5a96bbaacc9a20ac7e (diff)
downloadangular.js-14438058da39c3e523f420549074934ca5881b09.tar.bz2
docs: correct broken links
This also contains some whitespace corrections by my editor.
Diffstat (limited to 'src/ng/directive/input.js')
-rw-r--r--src/ng/directive/input.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 8ea66d09..87afc328 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -818,7 +818,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#$setValidity $setValidity()},
+ {@link ng.directive:ngModel.NgModelController#methods_$setValidity $setValidity()},
and return `undefined` for invalid values.
*
@@ -999,10 +999,10 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
*
* @description
* This is called when we need to determine if the value of the input is empty.
- *
+ *
* For instance, the required directive does this to work out if the input has data or not.
* The default `$isEmpty` function checks whether the value is `undefined`, `''`, `null` or `NaN`.
- *
+ *
* You can override this for input directives whose concept of being empty is different to the
* default. The `checkboxInputType` directive does this because in its case a value of `false`
* implies empty.