diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 376d5b7ddc20..246c827e3026 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -1298,7 +1298,7 @@ var ngValueDirective = function() {
} else {
return function(scope, elm, attr) {
scope.$watch(attr.ngValue, function valueWatchAction(value) {
- attr.$set('value', value, false);
+ attr.$set('value', value);
});
};
}
diff --git a/test/ng/directive/inputSpec.js b/test/ng/directive/inputSpec.js
index ff504872d4b0..d800bf920573 100644
--- a/test/ng/directive/inputSpec.js
+++ b/test/ng/directive/inputSpec.js
@@ -1104,6 +1104,18 @@ describe('input', function() {
describe('ngValue', function() {
+ it('should update the dom "value" property and attribute', function() {
+ compileInput('');
+
+ scope.$apply(function() {
+ scope.value = 'something';
+ });
+
+ expect(inputElm[0].value).toBe('something');
+ expect(inputElm[0].getAttribute('value')).toBe('something');
+ });
+
+
it('should evaluate and set constant expressions', function() {
compileInput('' +
'' +