aboutsummaryrefslogtreecommitdiffstats
path: root/src/markups.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/markups.js')
-rw-r--r--src/markups.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/markups.js b/src/markups.js
index 5e240a92..7edde728 100644
--- a/src/markups.js
+++ b/src/markups.js
@@ -236,7 +236,11 @@ angularTextMarkup('option', function(text, textNode, parentElement){
*/
var NG_BIND_ATTR = 'ng:bind-attr';
-var SPECIAL_ATTRS = {'ng:src': 'src', 'ng:href': 'href'};
+var SPECIAL_ATTRS = {};
+forEach('src,href,checked,disabled,multiple,readonly,selected'.split(','), function(name) {
+ SPECIAL_ATTRS['ng:' + name] = name;
+});
+
angularAttrMarkup('{{}}', function(value, name, element){
// don't process existing attribute markup
if (angularDirective(name) || angularDirective("@" + name)) return;