AngularJS and Ionic. Buttons in header, tab view AngularJS and Ionic. Buttons in header, tab view angularjs angularjs

AngularJS and Ionic. Buttons in header, tab view


You can make use of ion-nav-button like this:

<ion-view title="Account">  <ion-nav-buttons side="left">      <button class="button" ng-click="doSomething()">        I'm a button on the left of the navbar!      </button>   </ion-nav-buttons>  <ion-content class="has-header padding">    <h1>Account</h1>  </ion-content></ion-view>

Example 1Example 2