如何阻止离子框架上的无限滚动?
controller.js
memcpy()
模板name.html
$scope.page=1;
$scope.loadMore = function() {
$http.get("http://localhost/getdata.php?page="+$scope.page).success(function(items) {
$scope.posts = items;
$scope.$broadcast('scroll.infiniteScrollComplete');
$scope.page +=1;
});
};