I'm setting HTML5 mode on. And thus, links in template are written without hashbang like:
<a ng-href='/link/to/action'>Click here</a>
But problem is, older IE versions need the hashbang urls and I know that angularjs will fallback for IE to hashbang.
But I'm already forming the links according to HTML5. How to fallback my own links to hashbangs?
In other words, I want my links in the template to reflect the mode (HTML5 or hashbang) type and set its href accordingly.
So, for older browsers, I want the link to be like this instead:
<a ng-href='/#/link/to/action'>Click here</a>