From f170644bb2234861d60f0f1e3ba028a0e0feaa52 Mon Sep 17 00:00:00 2001 From: Mathieu Tricoire Date: Wed, 12 Feb 2014 10:53:52 +0100 Subject: [PATCH] docs(input): fix $isEmpty documentation --- src/ng/directive/input.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 27813a4686c0..3c09c0848f92 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -1022,6 +1022,9 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * 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. + * + * @param {*} value Reference to check. + * @returns {boolean} True if `value` is empty. */ this.$isEmpty = function(value) { return isUndefined(value) || value === '' || value === null || value !== value;