Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Ng-show not working

$
0
0

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()"...


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>