Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sub menu in sub menu #119

Open
dliszewski opened this issue Jul 16, 2016 · 2 comments
Open

sub menu in sub menu #119

dliszewski opened this issue Jul 16, 2016 · 2 comments

Comments

@dliszewski
Copy link

Hey, I want to create sub menu in sub menu in sidebar. First sub menu is visible in sidebar , but I don't see the second one. I can only see 'Tasks' which is an abstract state. Through the urls I can navigate to task1 and task2. Am I missing something here?

function routeConfig($stateProvider) {
$stateProvider
.state('epic', {
url: '/epic',
abstract: true,
title: 'New on-boarding journey',
template: '',
sidebarMeta: {
icon: 'ion-compose',
order: 100,
},
})
.state('epic.description', {
url: '/description',
templateUrl: 'app/pages/epic/epic.html',
title: 'Output',
sidebarMeta: {
order: 200,
},
})
.state('epic.tasks', {
url: '/tasks',
abstract: true,
title: 'Tasks',
template: '',
sidebarMeta: {
icon: 'ion-compose',
order: 300,
},
})
.state('epic.tasks.task', {
url: '/task1',
title: 'Sign In / Registration',
templateUrl: 'app/pages/epic/tasks/task1/task1.html',
sidebarMeta: {
icon: 'ion-compose',
order: 300,
},
})
.state('epic.tasks.task2', {
url: '/tasks2',
title: 'Task2',
templateUrl: 'app/pages/epic/tasks/task2/task2.html',
sidebarMeta: {
icon: 'ion-compose',
order: 400,
},
});
}

@vazh
Copy link

vazh commented Jul 19, 2016

need images/plunkrs of how the state is right now, and the expected results

@burylife
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants