title: Angular html5 mode with fallback
body: <p>I'm working on an angular application that has been around for a while.<br>
  So far I've used the normal <code>#</code> mode, without any prefix.<br>
  The application has quite some content so some of the customers might have bookmarked them (with the hash url schema).</p>
  
  <p>Now I'd like to switch to <code>html5Mode</code> but keep compatibility with the old url schema.<br>
  I mean, for example if I previously had this url <code>www.mysite.com/#/action/content?param1=A&amp;param2=B</code> in html5mode it will be <code>www.mysite.com/action/content?param1=A&amp;param2=B</code>.</p>
  
  <p>What I want is: if any user knows the old url (with the <code>#</code>) and he uses it in his browser I'd want my application to be smart and redirect the user to the correct page using the new <code>html5Mode</code> url or keep on using the the old url if the browser doesn't support the new html5Mode.</p>
  
  <p>Is this possible?</p>
  
  <p>(I'm using <code>ui-router</code>)</p>