i am new to angular i want to create a nested view using angular ui router
i have index.html in this
<div>
<div ui-view="menu"></div>
<div ui-view="content"></div>
<div ui-view="footer"></div>
</div>
in my app.js i use this
app.config(function($stateProvider, $urlRouterProvider) {
$stateProvider.state('public', {
url: "",
views: {
'menu': {
templateUrl: 'app/index/public.menu.html'
},
'content': {
templateUrl: 'app/index/public.content.html'
},
'footer': {
templateUrl: 'app/index/public.footer.html'
}
}
})
})
in content.html i have
<div>
<div ui-view="status"></div>
</div>
i want to set default html to that view "status"
and i also want to lode the html according to the url