Try using ng-show and ng-hide with function that returns true or false based on current scope var value. Like:
$scope.isLoggedOn = function() {
return Settings.getLoggedOn();
}
and then in view:
ng-show="isLoggedOn()"...
Try using ng-show and ng-hide with function that returns true or false based on current scope var value. Like:
$scope.isLoggedOn = function() {
return Settings.getLoggedOn();
}
and then in view:
ng-show="isLoggedOn()"...