title: Handling routes without hashbang using angular-ui-router
body: <p>I've searched a lot online for an answer to this but haven't found anything yet.</p>
  
  <p>Right now I have this code in my file that I thought would handle all routes/states besides the ones I've specified:</p>
  
  <pre><code>$urlRouterProvider.otherwise('/');
  </code></pre>
  
  <p>However, this functionality only works for paths like <code>localhost:1337/#/stuff</code>, but if I type in <code>localhost:1337/stuff</code>, I get an ugly internal server error. </p>
  
  <p>Ideally, I'd like <code>localhost:1337/stuff</code> or any other URL without a hashbang to redirect to <code>localhost:1337/#/</code> (my app's homepage).</p>
  
  <p>Any thoughts on how I can accomplish this?</p>