Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Bug: Checkbox re-checks itself, inconsistently

$
0
0

I have this in my computeCtrl:

$q.when($rootScope.imagesUrlsAreStored.promise).then(function(){
  $scope.imagesUrls = storageService.get('imagesUrls');
});

because when you open the app, the paths of the images (that will be displayed in the big collection-repeat list in the Compute view) wether local or remote, are stored into a big array. And as we need this array to display the list, I have to wait for it.

edit I put this in the weightLevel View (the page before Compute View) and even if I wait for this promise to be resolved before switching to Compute View, it's still the same very long time.

  $q.when($rootScope.imagesUrlsAreStored.promise).then(function(){
    alert('ok imagesUrlsAreStored')
  });

I don't have explicit resolve in the .state though.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>