title: UI Router not recognising URL
body: <p>I've set up my <code>$stateProvider</code> as follows:</p>
  
  <pre><code>app.config(function($stateProvider,$urlRouterProvider,$locationProvider, $httpProvider){
      $stateProvider.state('localitySearch',{
          url: '/venues/in/:cityName/:localityName/:localityId/',
          templateUrl: 'static/partials/localitysearch.html',
          controller: 'localitySearchCtrl'
      });
      $urlRouterProvider.otherwise('/');
      $locationProvider.html5Mode(true).hashPrefix('!');
      $httpProvider.defaults.xsrfCookieName = 'csrftoken';
      $httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken';
  });
  </code></pre>
  
  <p>When I try to hit:</p>
  
  <p><code>/venues/in/CityName/LocalityName/LocalityId/</code>, it redirects to home page.</p>
  
  <p>The same code works if use regular <code>ngRoutes</code>. Is there something I've missed that's preventing url redirection?</p>