Given this snippet
$stateProvider
.state('authorized', {
abstract: true,
template: "<div ui-view='page'>hello</div>"
})
.state('task', {
parent: 'authorized',
abstract: true,
url: '/task',
})
.state('task.create', {
url: '/create',
'views': {
'page@authorized': {
template: "word<div ui-view='boom'>replaced</div>",
views: {
'boom': {
template: "up"
}
}
}
}
})
I was expecting to see "word up", instead I see "word replaced" - I think I'm misunderstanding how angular ui targets parent states, help appreciated.
Demo plunk: http://plnkr.co/edit/69kdcy?p=preview