-
Notifications
You must be signed in to change notification settings - Fork 111
$ionicLoading and state route resolve #141
Copy link
Copy link
Open
Description
$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);
}
}
})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels