The class='red' is added when $scope.class1 return true . Similarly, set ng-class='{ div: true, blue: class2 }' directive where the class ...
確定! 回上一頁