<ion-side-menus enable-menu-with-back-views="false">
  <ion-side-menu-content>
    <ion-nav-bar class="bar-calm">
      <ion-nav-back-button>
      </ion-nav-back-button>

      <ion-nav-buttons side="left">
        <button class="button button-icon button-clear ion-navicon" menu-toggle="left">
        </button>
      </ion-nav-buttons><ion-nav-buttons side="right">
        <button ng-class="{'online-icon':appctrl.isOnline ,'offline-icon':appctrl.isOffline}" class="button button-icon button-clear nf-mdi-toggle-radio-button-on
">
        </button>

    </ion-nav-buttons>
    </ion-nav-bar>
    <ion-nav-view name="fabContent" ng-show="showfab"></ion-nav-view>
    <ion-nav-view name="menuContent"></ion-nav-view>
  </ion-side-menu-content>

  <ion-side-menu side="left">
    <ion-header-bar class="bar-calm">
      <h1 class="title">Menu</h1>
    </ion-header-bar>
    <ion-content>
      <ion-list>
        <ion-item class="ink" menu-close href="#/app/home">
          Home
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('config')">
          Configurations
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('linesettings')">
          Line Settings
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('operations')">
          Add operations
        </ion-item>
        <ion-item class="ink" menu-close href="#/app/system">
         System
        </ion-item>
        <!--<ion-item class="ink" menu-close href="#/app/admin">-->
         <!--Admin-->
        <!--</ion-item>-->
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('scoreboard_config')">
          Scoreboard Configuration
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('add_plan_advance_behind_master_data')">
          Add Advance / Behind Style
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.logout()">
          Logout
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.lock()">
          Lock
        </ion-item>
      </ion-list>
    </ion-content>
  </ion-side-menu>
</ion-side-menus>
