AngularJS ng-if for $rootScope
Try
<a ng-if="$root.page == 'app'">Show Me</a>
Do you need to use ng-if? Why not the following?
<a ng-show="$root.page == 'app'">Show Me</a>
Try
<a ng-if="$root.page == 'app'">Show Me</a>
Do you need to use ng-if? Why not the following?
<a ng-show="$root.page == 'app'">Show Me</a>