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

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World