angular + mui 下拉加载

$.init({

pullRefresh: {

  container: '#underway-con', //触摸区域

  up: {

    contentrefresh: '正在加载...',

    callback: pullupRefresh

  }

}

});

function pullupRefresh() {

  angular.element(document.getElementsByClassName("mui-pull-caption")).css("visibility","inherit")//下面不显示任何字

setTimeout(function() {

  getlist(obj);//获取接口数据方法

  $timeout(function(){

      mui('#underway-con').pullRefresh().endPullupToRefresh($scope.length < 10); //判断无数据显示暂无更多数据

    },300) // 长度获取需要延迟

  },1000);//下垃加载时间

}