.state('app.match.indicator.speciality',{
url: '/speciality/:jobId?',
views: {
'sidebar@app.match.indicator':{
templateUrl: ENVApp + '/views/match/match.roleProfileSideBar.html?' + cacheVersion,
},
'createRoles@app.match.indicator': {
templateUrl: ENVApp + '/views/match/match.page2.html?' + cacheVersion
}
},
controller: 'RoleProfileCreateSpecialtyController'
})
That's what I have as a state definition, however my RoleProfileCreateSpecialtyController
doesn't get loaded for some reason. I know this because I threw an alert in there that never happens.
What am I doing wrong?
This also fails:
.state('app.match.indicator.speciality',{
url: '/speciality/:jobId?',
views: {
'sidebar@app.match.indicator':{
templateUrl: ENVApp + '/views/match/match.roleProfileSideBar.html?' + cacheVersion,
},
'createRoles@app.match.indicator': {
templateUrl: ENVApp + '/views/match/match.page2.html?' + cacheVersion
}
},
// controller: 'RoleProfileCreateSpecialityController'
controller: function() {
alert('fd')
}
})