I have a nav bar and I want to add a save button to the nav bar for only one screen. I was reading the blogs and everyone was saying how you declare your buttons in the view and don't access them in a controller. That is all well and good but I have to imagine people still want to hide and show nav buttons. Am I missing something?
<!-- The nav bar that will be updated as we navigate -->
<button id="saveButton" class="button button-clear">Save</button>
You can add buttons on left or right side in navigation bar from any screen containing
<ion-view title="New Screen"> <ion-nav-buttons side="primary"> <button class="button" ng-click="doSomething()"> New Button </button> </ion-nav-buttons> </ion-view>
So this "New Button" will only come for "New Screen".