I have a custom directive in which i am calculating width and assigning it into scope variable. That scope variable is being accessed in html which is working fine in firefox and chrome. But not in Internet explorer.
code in controller
cellWidth: 160 // property of an object
Code in directive
for (var i = 0; i < totalColumns; i++) {
scope.columnMapping.columns[i].tempCellWidth = scope.columnMapping.columns[i].cellWidth * 100) / tableWidth;
}
HTML
<div style="width: {{column.tempCellWidth}}%;"> {{columnName}} </div> // IE does not evaluate this..
IE shows width: {{column.tempCellWidth}}% while inspecting an element.
Thanks in advance.