<div ng-if="item.attribute == 'attribute1'">
doSomething
</div>
<button class="button button-block button-postive waves-effect waves-button waves-light">
Button 1
</button>
我想这样做,如果 item.attribute == attribute1 那么按钮的颜色是珊瑚色
.button.button-block, .button.button-full {
background-color: coral;
color: #fff;
}
这可能吗?谢谢