angularjs ng-class 两种用法

ng-class="{'active':current.actived_tree==item}"
ng-class="{true:'label-danger white-font'}[item.ratio<=0.9]"

  

posted on 2016-11-22 14:43  13m0n  阅读(239)  评论(0编辑  收藏  举报