Iontabs and ng-show

I tried some simple tests and it appears this attribute (or directive) does not affect the tag <ion-tab>.

If I assign a controller as ng-controller="AbstractTabsCtrl" to the tag <ion-tabs> and then in that controller I have a variable like $scope.show_admin_tests = true and on an <ion-tab ... ng-show="show_admin_tests"> it won’t affect it. However if I just put a div in there with “hi” and assign ng-show on that div with same variable it works.

Is this behavior expected or did I stumble on a possible improvement?

Thanks,

you should use hidden directive on ion-tab you want to hide instead ngShow
http://ionicframework.com/docs/api/directive/ionTab/

What a great framework. :smile: