Open gomflo opened 7 years ago
$ionicLoading is not showing with plugin and route resolve it just "waits" a then does the transition. How i could show the $ionicLoading spinner?
.state('tab.chats', { url: '/chats', views: { 'tab-chats': { templateUrl: 'templates/tab-chats.html', controller: 'ChatsCtrl' } }, resolve: { resolveFirst: function($timeout, $ionicLoading) { $ionicLoading.show({ template: 'Loading...' }); return $timeout(function() { $ionicLoading.hide(); }, 5000); } } })
$ionicLoading is not showing with plugin and route resolve it just "waits" a then does the transition. How i could show the $ionicLoading spinner?