Infinite scroll from empty list

If I start from an empty list, then load the first data, how can I trigger the infinite scroll only after the first data have been loaded?

Thanks

Do you have a sample that’s not working?

See this sample. http://codepen.io/calendee/pen/JkKbF

The data is gathered from a service with a 600ms delay. Once the service returns the data, it populates the list and infinite scroll works.

kardeşim bu kod işini görecektir.

        if($scope.homeTotal<$scope.maxResult){
            $scope.$broadcast('scroll.infiniteScrollComplete');
        }else{ la la la la la }