title: Deep Routing not working as expected ui-router
body: <p>This is my code for routing and as I checked on internet, using html5Mode with requireBase should have fixed this problem.
  When I directly try to access <strong>localhost/index</strong>, then it is saying <strong>Cannot GET /login</strong></p>
  
  <pre><code>app.config(function ($stateProvider, $urlRouterProvider, $locationProvider) {
      // Setting login page as default location for the App
      $urlRouterProvider.otherwise("/login");
  
      $stateProvider.state('root', {
          url: '/login',
          views: {
              "temp_app": {
                  templateUrl: 'app.tpl.html'
              }
          }
      });
      $locationProvider.html5Mode({ enabled: true, requireBase: false });
  });
  </code></pre>