How do I make routes case insensitive with Angular
<p>How can I make routing in angular case insensitive? For example if I have a route for www.example.com/home which looks like this:</p>

<pre><code>$routeProvider
  .when('/home', {
    templateUrl: 'pages/home/home-page.tmpl.html',
    controller: 'HomeCtrl',
    controllerAs: 'home'
  });
</code></pre>

<p>How can I also set it up so that it would work with.</p>

<p>www.example.com/Home | www.example.com/HOME | www.example.com/HoMe etc?</p>