What steps will reproduce the problem?
Try to compress <input id="id2" ng-disabled="compareDisabled"/>
What is the expected output? What do you see instead?
expected
<input id="id2" ng-disabled="compareDisabled"/>
actual
<input id="id2" ng-disabled/>