I'm trying to solve a problem. I want that when a perform an action or function in the controller to be saved in the brose history. For example, I want to do this:
I have a very simple example of what I want but I don't know what do I have to add to be able to use the "back" and "forward" button from the browser.
Thank you very much in advance!
You should use the $location
service to set the URL. I don't know how to make it work on jsFiddle, however the following should work: