Hi I’ve this simple title button and I need to hide it in home view but show it in other views.
<ion-nav-buttons side="right">
<img src="img/title2.png" class="title-button" hidden="???">
</ion-nav-buttons>
How can I do that?
Hi I’ve this simple title button and I need to hide it in home view but show it in other views.
<ion-nav-buttons side="right">
<img src="img/title2.png" class="title-button" hidden="???">
</ion-nav-buttons>
How can I do that?
You can use the ng-hide
directive:
<ion-nav-buttons side="right">
<img src="img/title2.png" class="title-button" ng-hide="controler.isHome()">
</ion-nav-buttons>