I am trying to implement nested states in my project but they are not working as expected.
Though View template and js calls are made and loading in the back but the screen does not change in other words nested screen does not show.
http://{domain}/#/app/store/users/1/new
Below is code snippet of my work
.state('app.store.users', {
url: '/users/:storeid',
params: { storeid: '1' },
templateUrl: 'store/users',
controller: 'UsersController',
require: ['users', 'datatables'],
data: {
displayName: 'Store Users'
}
})
.state('app.store.users.new', {
url: '/new',
templateUrl: 'store/newuser',
controller: 'NewUserController',
require: ['newuser'],
data: {
displayName: 'New User'
}
})
;
http://{domain}/#/app/store/users/1/new
Considering above url, displaying Users not NewUser.
thanks in advance!!