Using an expression like this on the style attribute works on Chrome but doesn't work on IE8
style="width:{{progress}}%"
http://jsfiddle.net/5VDMD/12/ (to test it please type a number in the textbox)
Any workaround for this problem?
Using an expression like this on the style attribute works on Chrome but doesn't work on IE8
style="width:{{progress}}%"
http://jsfiddle.net/5VDMD/12/ (to test it please type a number in the textbox)
Any workaround for this problem?
Try
if anybody use px instead of %, you have to use this
For some reason in IE I had to use
Though mine was in a directive under an ng-repeat.
I made it work that way:
in the controller:
in the HTML:
I had to use
ng-attr-style
(though I didn't need to use a function).Here is a github discussion about this issue.