最佳答案
我想这样做:
ng-hide="!globals.isAdmin && mapping.is_default"
但是表达式的计算结果总是 false。
我不想在 $scope上定义特殊的函数。