SyntaxFix
Write A Post
Hire A Developer
Questions
Simply do this:
<div ng-style="{'background-color': '{{myColorVariable}}', height: '2rem'}"></div>