Consider the following ui-router setup:
index.html
<div ui-view></div>
ui-router configuration
$stateProvider .state('search', { abstract: true, url: '/search', views: { '@': { templateUrl: 'main.html' } } }) .state('search.results', { url: '/results', views: { ... }, resolve: { data: function() { ... } } })
When I go to search.results , main.html not displayed until resolve is resolved.
Is there a way in ui-router to display the parent view before the child resolve ?
Another related question
source share