Consider the following:
.state(\'manager.staffList\', {url:\'^/staff?alpha\', templateUrl: \'views/staff.list.html\', data:{activeMenu: \'staff\'}, controlle
I ran into the same issue and found this solution to work:
https://github.com/angular-ui/ui-router/issues/948#issuecomment-75342784
This is quoted from @christopherthielen on github
"For now, don't declare your state abstract, and use this recipe:"
app.run($rootScope, $state) {
$rootScope.$on('$stateChangeStart', function(evt, to, params) {
if (to.redirectTo) {
evt.preventDefault();
$state.go(to.redirectTo, params)
}
});
}
$stateProvider.state('parent' , {
url: "/parent",
templateUrl: "parent.html",
redirectTo: 'parent.child'
});
$stateProvider.state('parent.child' , {
url: "/child",
templateUrl: "child.html"
});
Here is breakdown of how the process works: