fix(ngValue): made ngValue to write value attribute to element

This commit is contained in:
Mikk Kirstein
2013-05-14 20:14:06 +03:00
committed by Igor Minar
parent 61fb5863df
commit 3b898664ee
2 changed files with 13 additions and 1 deletions

View File

@@ -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);
});
};
}