I'm planning to send data throught state configuration
rationale: There are some states required full screen mode and I can not place the logic in controller as this will apply to all other section which is using this generic view.and also “I don’t want URL based state check “
Question 1 : Can we send data like this ? " data :{fullScreenMode : true}"
Question 2 : If then how to retrieve the data in the Controller.
.state(student.list', {
url: '/studentInformation',
views: {
'content': {
templateUrl: 'views/student/informations.html',
controller: 'StudentInfoCtrl'
}
},
data :{fullScreenMode : true}
})