My question is similar to this one, but my goal is to make the hashbang URLs silently redirect to the html5Mode style. I mean, when
example.com/#!/hello
gets entered, it should be silently changed to
example.com/hello
in order for existing links to stay valid. Compatibility with old browsers doesn't matter (as AFAIK everything supported by angularjs 1.3 works with the html5Mode).
Maybe I'm just misunderstanding the answer, but I can't see it there. I've got the html5Mode working without problems, but I sort of want two in one.