Turns out that Chrome reports

1
2
$(document).height();
$(window).height();

as the same value unless you explicity state

1
<!doctype html>

At the top of your document. So if you’re trying to do something like auto-load more:

1
2
3
4
5
$(document).on('scroll', function(event) {
  if ($(window).scrollTop() >= ($(document).height() - $(window).height())) {
  $scope.$broadcast('loadMore');
  }
});

You need to check yourself before you wreck your browser on your loadMore hook, because it will call itself on every. freaking. scroll.