instead of watching document height, check for ng-repeat end event