diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 4c55adc8cf5b..91e91f1f0da0 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -1968,7 +1968,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ if (!validatorPromises.length) { validationDone(); } else { - $q.all(validatorPromises).then(validationDone); + $q.all(validatorPromises).then(validationDone, noop); } } diff --git a/test/ng/directive/inputSpec.js b/test/ng/directive/inputSpec.js index 169c8d6da9b7..ca8032490427 100644 --- a/test/ng/directive/inputSpec.js +++ b/test/ng/directive/inputSpec.js @@ -711,7 +711,7 @@ describe('NgModelController', function() { expect(ctrl.$pending).toBeUndefined(); })); - it('should clear and ignore all pending promises when the input values changes', inject(function($q) { + it('should clear and ignore all pending promises when the input value changes', inject(function($q) { ctrl.$validators.sync = function(value) { return true; };