The correct approach would be using ng-class based on a toggle variable, consider: CSS: .red { color: red; }. JS: $scope.toggle = false;.
確定! 回上一頁