I have sort of a strange question, I'm just trying to see if this is possible.
What I am looking for is a way to update the url as the user is using the app - when they click a few different items on the page I would like it to almost "bind" to the urlParameters I have set up. So I have like -
url: 'app/:mod1/:mod2',
in my route and as the user interacts with buttons on the page, 2 of them are binded to scopes in the controllers, lets say
$scope.mod1 = true;
$scope.mod2 = false;
And then as the user interacts with them it would change the url accordingly. So if they clicked the buttons and made mod1 = false and mod2 = true, the url would change to
/app/false/true
Here is the catch - I would love to be able to do this without refreshing the page each time (if it's even possible in the first place). The idea is so that the user can then copy the url and use it later - kind of like a save state. Any advice on this matter would be much valued, as I am not sure where to look. Thank you for taking the time to read!