css - Inline width not working in IE when bound with AngularJS -
i created jsfiddle illustrate problem.
if have following html:
<div id="div1"> <div id="div2">test</div> <div id="div3" style="width:{{progress}}%;"></div> </div>
where eg. $scope.progress = 50;
, displays width in ff , chrome, in ie, width 100%;
try use ng-style:
<div id="div3" ng-style="{'width': progress + '%' }"></div>
Comments
Post a Comment