I am facing an issue with my articledetail state when navigating to it:
$state.go('articledetail', { 'article': article.itemNumber });
Within the articleDetail.html file, I want to display all subviews simultaneously:
<div class="tab-content col-xs-7">
<div ui-view="tab1"></div>
<div ui-view="tab2"></div>
<div ui-view="tab3"></div>
<div ui-view="tab4"></div>
<br />
</div>
Below is my state configuration. Despite trying both with and without '@', none of my views (including the main one) are loading and no errors are being displayed.
$stateProvider.state('articledetail', {
url: '/articledetail/:article',
templateUrl: '/articledetail/articleDetail.html',
controller: 'articleDetailController',
controllerAs: 'vm',
views: {
'tab1@': {
templateUrl: '/articledetail/tab1.html'
},
'tab2@': {
templateUrl: '/articledetail/tab2.html'
},
'tab3@': {
templateUrl: '/articledetail/tab3.html'
},
'tab4@': {
templateUrl: '/articledetail/tab4.html'
}
}
});
The lack of error messages is making it difficult for me to pinpoint the issue. I have followed the steps outlined in the ui-router FAQ for enabling error logging but haven't had any success.
What could be the mistake I'm making?