Closed herrerodani closed 10 years ago
Angularjs removes data- from attributtes, so !attrs.hasOwnProperty('data-' + propName) is always true and the default values cannot be overwriten.
Than you.
Related issue https://github.com/angular/angular.js/issues/4478
I was also bitten by this, so have created a pull request that should fix the issue.
Angularjs removes data- from attributtes, so !attrs.hasOwnProperty('data-' + propName) is always true and the default values cannot be overwriten.
Than you.