<ion-view view-title="需要我支付的报销单">
    <ion-nav-buttons side="right">
        <button class="button button-clear" ng-click="toAnalyse()">分析</button>
    </ion-nav-buttons>
    <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>
        <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>