Closed
Description
Hi.
I have nested view like this
<div ui-view="main">
<div ui-view="content"></div>
</div>
And this routes
$stateProvider.state('main', {
url: '/',
controller: 'MainController as main',
template: require('./main.html')
});
$stateProvider.state('main.profile', {
url: 'profile',
views: {
'content': {
controller: 'ProfileController as profile',
template: require('./profile.html')
}
}
});
And I get this error: Cannot read property 'name' of undefined
at getUiViewName
I'm using 0.3 version...
What Am I missing?