2
I am setting an application opening page, where a list is displayed and clicking on an item, the user is directed to a page that contains tabs
.
As shown below:
Each tab
should display the contents of an html page (view). However, I am unable to display contents within these tabs
.
Below is my config:
$stateProvider
.state('Clientes', {
url: '/clientes',
views: {
'conteudo': {
templateUrl: "templates/inicio.html",
controller: 'ClienteController'
}
}
})
.state('menu',{
url: '/menu/:dadosLogin',
views: {
'conteudo':{
templateUrl: "templates/menu.html",
controller: 'ClienteController'
}
}
})
.state('menu.dados', {
url:'/acessos',
views:{
'tab-dados':{
templateUrl: "templates/tab-dados.html"
}
}
});
How can I properly configure the contents within these tabs
by my routes?