ng-attr-xxx can't be used with ng-attr-data-xxx #15214
Description
Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
report a bug
What is the current behavior?
when I set ng-attr-xxx and ng-attr-data-xxx, it only runs the last directive.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
http://plnkr.co/edit/VdGOo2S5iMdruaB2BHvF?p=preview
please see the compiled code of the preview window. only one of data-xxx or xxx attribute shown in the DOM.
What is the expected behavior?
both data-xxx and xxx attribute should be in the DOM.
1.5.7 & 1.5.8 with Chrome 53.0
Thank you .