Dynamic Styling using Style tag with Angularjs not working in IE 11

Internet explorer 11 won’t recognize Style tag with Angularjs variable

<tr ng-repeat=”report in results”>

<td style=background-color: {{report.ReportColor}}>{{report.ReportStatus}}</td>

</tr>

Change to

<tr ng-repeat=”report in results”>

<td ng-style=”{‘background-color’: report.ReportColor}”>{{report.ReportStatus}}</td>

</tr>

ng-style=”{‘background-color’: report.ReportColor}”

Add Comment