I am getting data from Parse.com to my app, and using ng-repeat. However data is not always shown in the app after data is received(this does not happen in browser though). I tried using $scope.$apply() at the end of the async data retrieval function, this solved part of the problem as for most of the time it does show the data, but sometimes once in a while the data is still not shown…
Is there a better way of using $scope.$apply() or other alternatives to fully solve the problem?