I want to do so:
ng-hide=\"!globals.isAdmin && mapping.is_default\"
but the expression evaluates always to false.
ng-show / ng-hide accepts only boolean values.
For complex expressions it is good to use controller and scope to avoid complications.
Below one will work (It is not very complex expression)
ng-show="User=='admin' || User=='teacher'"
Here element will be shown in UI when any of the two condition return true (OR operation).
Like this you can use any expressions.