Sidemenu footer


How to insert a footer with icon and click function in sidemenu?


If you are using ionic 1:
Add below code after ion-content in menu.html

<ion-footer-bar class="bar-positive" ng-click="logout()">
            <button class="button button-clear white-color"  menu-close><i class="icon ion-power"></i>&nbspLogout</button>


For Ionic 2+




but what about the icon?


Just as you would do it in the header:

  <ion-toolbar padding>
       <ion-buttons left>
      <button ion-button menuToggle>
        <ion-icon name="menu"></ion-icon>