So I am using ui-Router in my app to pass $stateParams and use them in my controllers in more or less clever ways. Point is, some of these $stateParams that I pass contain sensitive information, like employee ids. Is there a way to hide them in the url? I saw some answers here about params, but I am not 100% sure that this was the problem those answers were addressing.
So just to be clear, I am talking about information passed in the url like this:
.state('detail', {
url: '/detail/:employeeid/:employeename/:employeeteam',
templateUrl: 'templates/EmployeeReport.html',
controller: 'ReportController'
})
I want to hide employeeid, employeename and employeeteam.
Thanks!