<ion-view cache-view="false" view-title="{{'Playlists' | translate}}">
  <ion-nav-buttons side="secondary">
    <button class="mopidy-mobile-button-icon mopidy-mobile-icon-edit"
            nav-transition="none"
            ui-sref="^.edit"
            >
    </button>
    <button class="mopidy-mobile-button-icon mopidy-mobile-icon-menu"
            ng-click="popover.show($event)"
            ng-controller="PlaylistsMenuController"
            >
    </button>
  </ion-nav-buttons>
  <ion-content>
    <ion-refresher on-refresh="refresh()" pulling-text="{{'Pull to refresh' | translate}}">
    </ion-refresher>
    <ion-list>
      <ion-item class="item-icon-right"
                collection-repeat="playlist in playlists | playlistOrder : order"
                ui-sref="playlist.view({uri: playlist.uri, name: playlist.name})"
                >
        <h2>{{playlist.name || playlist.uri}}</h2>
        <h4>{{getURIScheme(playlist.uri)}}</h4>
        <i class="mopidy-mobile-icon-link icon-accessory"></i>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
