I have a dynamic style model as a string, which I want to apply to a html element. Unfortunately ng-style works with objects.
How can I make this work with a simple string?
item.trStyle is something like "background-color:#B5EFF2;padding:10px;text-align:center;"
<td style="{{item.trStyle}}">
</td>