I am currently working with this state configuration:
.state('main.content', {
url: '',
views: {
'content-one': {
templateUrl: 'templates/staging-area/content.html',
controller: 'ContentCtrl'
},
'content-two': {
templateUrl: 'templates/staging-area/content.html',
controller: 'ContentCtrl'
}
}
})
Is there a way to retrieve the name of the view within the controller?