<ion-view view-title="Account">
  <ion-nav-buttons side="right">
    <button class="button button-icon icon ion-android-add" ng-click="toAdd()"></button>
  </ion-nav-buttons>
  <ion-content>
    <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
    <ion-list>
      <ion-item class="item item-icon-left" ng-repeat="item in taskList.results" ng-click="toDetail(item)">
        <i ng-if="item.is_completed" class="icon ion-checkmark-round"></i>
        <span>{{item.title}}</span>&nbsp;<span>{{item.created | date:'yyyy/MM/dd' }}</span>
        <p>{{item.description}}</p>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
