[Solved] Looking for a well written inifite scroll plugin [closed]


For infinite scrolling you should do ajax to load more content in your page each time when scroller hits the bottom of the page.

$(window).scroll(function() {
      if($(window).scrollTop() + $(window).height() == $(document).height()) {
          angular.element("#yourControllerId").scope().loadMore();

      }
  });

  // angularJs code
  $scope.loadMore = function(){
    // do ajax
  }

solved Looking for a well written inifite scroll plugin [closed]