I want to use the background color from my json array, but this does not work.
<td ng-repeat="menus in $scope.menuList">
<button class="head-button" style="background-color:{{menus.color}}" ui-sref="{{menus.link}}">
<md-icon>{{menus.icon}}</md-icon>
<md-tooltip md-direction="top">{{menus.tooltip}}</md-tooltip>
<div class="head-mini-text">{{menus.text}}</div>
</button>
</td>
How come that style="background-color:{{menus.color}}"
is not working? Is there a better way to do this?