Ion-infinite-scroll problema with loading

Hi everyone, i’m new here and i have a problem with directive ion-infinite-scroll. To obtain the data this works well, but the problem is that the first time show the loading, but the following times not. What can be the problem?.

My code:

      <ion-item ng-repeat="survey in surveys" class="list card">
        <div class="item item-avatar">
          <img ng-src="{{ survey.foto }}">
          <h2>{{ survey.user | decode64 }}</h2>
          <p>{{ 'CATEGORY' | translate }}: {{ 'CATEGORY_' + survey.category | translate }}</p>
        <div class="item item-body">
            {{ survey.title_survey }}
            <a class="subdued">{{ survey.timestamp | timestampToLocaleString }}</a>
        <div class="item tabs tabs-secondary tabs-icon-left">
          <a class="tab-item" href="#">
            <i class="ion-help"></i>
            {{ 'SEE' | translate }} {{ 'QUESTIONS' | translate | lowercase }}


$scope.surveys_data = function(){
      var filters = {
        limit: true,
        value_limit: $scope.limit
      var promise = FirebaseArray.find("surveys", filters);
        //Si son iguales es que llego al final
        if(angular.equals($scope.surveys, obj)){
          $scope.hasMoreSurveys = false;
          $scope.surveys = obj;
          $scope.limit = $scope.limit + 10;


The problem is for spinner icon. Only works the first time.

I found a way to do it, but it works sometimes :frowning:


}, 5000);