Hi everyone
Here is my newbie question…
Is it possible to have different states loading templates in the same view?
Like this:
.state('tab.listas', {
url: '/listas',
views: {
'listas-tab': {
templateUrl: 'listas.html',
controller: 'ListasCtrl'
}
}
})
.state('tab.listas.lista', {
url: '/:id_lista',
views: {
'listas-tab': {
templateUrl: 'listas.lista.html',
controller: 'ListaCtrl'
}
}
})
Also, here is a Plunker where I was not able to do so:
Thanks a lot!