title: Change hash without reloading controller in AngularJS
body: <p>I'm working on a currency converter, and I have url like <code>#/currency/50/USD/to/EUR</code>, where 50, USD and EUR are parameters. Now I have a switch function which swaps the currencies and keep the value to convert, I'd like to change the URL as well to something like <code>#/currency/50/EUR/to/USD</code> without reloading the controller, just change the hash. I have an idea on how to do with pure js, but is there any solution in angular way?</p>