title: Page refresh gives 404
body: <p>I am using angular router for routing my app and I want to use the html5mode.</p>
  
  <p>Routing is working fine, but when a refresh my page (on he browser), I get a 404 error.</p>
  
  <p>Here is my routing code snipet </p>
  
  <pre><code>    angular.module ('app', ['ngRoute', 'home', 'login', 'admin'])
  
  .config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
      $routeProvider
      .when('/', {
          templateUrl: 'app/components/home/home.html',
          controller: 'homeController'
      })
      .when('/login', {
          templateUrl: 'app/components/login/login.html',
          controller: 'loginController'
      })
      .when('/outils-de-gestion', {
          templateUrl: 'app/components/admin/admin.html',
          controller: 'adminController'
      })
  
      $locationProvider.html5Mode(true);
  }])
  
  .controller ('appController', ['$scope', function ($scope){
  
  }])
  </code></pre>
  
  <p>What am I doing wrong ? Has anyone an idea about that ?</p>