Hi.
I’m wondering something. First lets look at the first state:
.state('tab.dash', {
url: '/dash',
views: {
'tab-dash': {
templateUrl: 'templates/tab-dash.html',
controller: 'DashCtrl'
}
}
})
If I were to change this to:
.state('tab.dash', {
url: '/dash',
views: {
'tab-dash-2': { // <-- note the only change
templateUrl: 'templates/tab-dash.html',
controller: 'DashCtrl'
}
}
})
This fails to load. Why is that?