Not loading content menu

I am using ionic, and cant understand why sometimes my a menu (right)context is empty, my controller looks like:

testService.getNearPlaces().then(function (data) {
    $scope.items = [];
    for (i = 0; i < data.length; i++)
    $scope.items.push(data[i].attributes);
    Places.setData($scope.items);
});

My service:

var query = new Parse.Query(QueObject);
        return query.find();

Are you sure after getNearPlaces() your program goes into “then()”? Add some error handling.

yes its return to then.but I can see my list is empty on template. its not happens all the time. the service is success every time

Can you show .html code where you display list?

<ion-view  ng-controller="PlaceslistsCtrl">
 <ion-nav-title> {{'nearPlaces_title'| translate}}
  </ion-nav-title>
    <ion-content>
        <div class="bar bar-header item-input-inset">
            <input id="autocomplete" type="search" placeholder="Search" g-places-autocomplete ng-model="myScopeVar" />
        </div>
        <div class="list">
            <a ng-repeat="item in items" 
               href="#/tab/details/{{item.queId}}"
               class="item item-thumbnail-left">
                <div class="row" ng-model="item">
                    <div class="col"><img ng-src="{{ item.entrancePhotoUrl }}" style="height:40%;width:40%"></div>
                    <div class="col">
                        <h1>{{ item.name }}</h1>
                        <h4>{{ item.streetAddress }}</h4>
                    </div>
                    <div class="col" padding="true">
                        <wj-radial-gauge
                                value="item.waitTimeEstimationSec"
                                show-text="Value"
                                min="{{configData.minTimeToWaite}}"
                                max="{{configData.maxTimeToWaite}}"
                                auto-scale="true"
                                start-angle="0"
                                sweep-angle="135">
                        </wj-radial-gauge>
                    </div>
                </div>
            </a>
        </div>
    </ion-content>
</ion-view>