<ion-view view-title="需要我审批的报销单">
    <ion-content>
        <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
        <div ng-if="loading" class="center init-load action-sheet-backdrop">
            <ion-spinner icon="android"></ion-spinner>
        </div>
        <a class="item item-icon-right" ng-href="#/billapproved/2">已审批的报销单
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <div class="item item-divider">需要我审批的({{bills.results.length}})</div>
        <pay-bill-list  bills="bills.results" loading="loading"></pay-bill-list>
        <ion-infinite-scroll spinner="android" ng-if="moreCanBeLoaded()" on-infinite="loadMore()" distance="1%" immediate-check="false"></ion-infinite-scroll>
    </ion-content>
</ion-view>