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