In AngularJS, how to load only a particular named view? For example, in below code, if contact is selected, I like it to load only in bottomview and keeping rest of the views (say topview) as it is. Unfortunately, AngularJS is loading all the views. Any idea what am I doing wrong?
.state('home', {
url: '/home',
views: {
'topview': {templateUrl: 'top.html'},
'bottomview': {templateUrl: 'bottom.html'}
}
})
.state('contact', {
url: '/contact',
views: {
'bottomview': {templateUrl: 'contact.html'}
}
})