title: Angularjs html5Mode(true) page reload error with Node.js Server
body: <p>I have used routeProvider and stateProvider in Angular js with HTML5 mode true.
  Everything is working fine until I refresh the page. </p>
  
  <p>I am using Node.js server, I am not getting what to write on server side so that I don't get "Can not find" error. </p>
  
  <p>Please help me with this, I am not getting any answers from other similar posts.</p>
  
  <p>here's the code of state provider</p>
  
  <pre><code>   $stateProvider
    .state("/", angularAMD.route({
      url: '/',
      templateUrl: 'Default/default.html'
    }))
    .state("aboutUs", angularAMD.route({
      url: '/aboutUs',
      templateUrl: 'AboutUs.html'
    }))
    .state("contactUs", angularAMD.route({
      url: '/contactUs',
      templateUrl: 'ContactUs.html'
    }))
    .state("order", angularAMD.route({
      url: '/order',
      templateUrl: 'order/order.html',
      controllerUrl: "order/OrderController"
    }))
    .state("signin", angularAMD.route({
      url: '/signin',
      templateUrl: 'LoginSignup/Login.html',
      controllerUrl: "LoginSignup/LoginController"
    }))
    .state("dashboard", angularAMD.route({
      url: '/dashboard',
      templateUrl: 'Dashboard/dashboard.html',
      controllerUrl: "Dashboard/dashboardController"
    }))
    .state("thankYou", angularAMD.route({
      url: '/ThankYou.html',
      templateUrl: 'ThankYou.html'
    }));
  $urlRouterProvider.otherwise("/");
  $locationProvider.html5Mode(true);
  </code></pre>