title: how to remove hash tag (#) from url address in ui-router
body: <p>My url looks like this 
  <a href="http://127.0.0.1:50884/index.html#/home" rel="noreferrer">http://127.0.0.1:50884/index.html#/home</a></p>
  
  <p>This is index page. I am using angular ui-router to change to various views like but url comes with # tag like this: 
  <a href="http://127.0.0.1:50884/index.html#/mobileOperator" rel="noreferrer">http://127.0.0.1:50884/index.html#/mobileOperator</a>
  <a href="http://127.0.0.1:50884/index.html#/contentExpertise" rel="noreferrer">http://127.0.0.1:50884/index.html#/contentExpertise</a></p>
  
  <p>Question : 
  Is there a way to remove/clean # tag from url.. to show the url path like below:</p>
  
  <p><a href="http://127.0.0.1:50884/index.html/home" rel="noreferrer">http://127.0.0.1:50884/index.html/home</a></p>
  
  <p><a href="http://127.0.0.1:50884/index.html/contentExpertise" rel="noreferrer">http://127.0.0.1:50884/index.html/contentExpertise</a></p>
  
  <p>I tried html5mode but it give angular error in console.</p>
  
  <pre><code>Error: [$location:nobase] http://errors.angularjs.org/1.5.0-rc.2/$location/nobase
  K/&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:6:421
  pf/this.$get&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:110:96
  h/&lt;.invoke@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:293
  gb/F&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:43:96
  d@http://127.0.0.1:50884/js/angular-v1.5.min.js:40:270
  e@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:1
  h/&lt;.invoke@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:86
  gb/F&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:43:96
  d@http://127.0.0.1:50884/js/angular-v1.5.min.js:40:270
  e@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:1
  h/&lt;.invoke@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:86
  gb/F&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:43:96
  d@http://127.0.0.1:50884/js/angular-v1.5.min.js:40:270
  e@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:1
  h/&lt;.invoke@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:86
  s/&lt;/&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:52:121
  n@http://127.0.0.1:50884/js/angular-v1.5.min.js:7:364
  s/&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:52:90
  h/&lt;.invoke@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:293
  e/&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:38:458
  h/&lt;.invoke@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:293
  gb/F&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:43:96
  d@http://127.0.0.1:50884/js/angular-v1.5.min.js:40:270
  K@http://127.0.0.1:50884/js/angular-v1.5.min.js:71:447
  la@http://127.0.0.1:50884/js/angular-v1.5.min.js:60:266
  R@http://127.0.0.1:50884/js/angular-v1.5.min.js:58:229
  R@http://127.0.0.1:50884/js/angular-v1.5.min.js:58:397
  R@http://127.0.0.1:50884/js/angular-v1.5.min.js:58:397
  N@http://127.0.0.1:50884/js/angular-v1.5.min.js:56:263
  Ac/c/&lt;/&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:21:99
  sf/this.$get&lt;/m.prototype.$eval@http://127.0.0.1:50884/js/angular-v1.5.min.js:140:363
  sf/this.$get&lt;/m.prototype.$apply@http://127.0.0.1:50884/js/angular-v1.5.min.js:141:83
  Ac/c/&lt;@http://127.0.0.1:50884/js/angular-v1.5.min.js:21:57
  h/&lt;.invoke@http://127.0.0.1:50884/js/angular-v1.5.min.js:41:293
  Ac/c@http://127.0.0.1:50884/js/angular-v1.5.min.js:20:1
  Ac@http://127.0.0.1:50884/js/angular-v1.5.min.js:21:274
  de@http://127.0.0.1:50884/js/angular-v1.5.min.js:20:83
  @http://127.0.0.1:50884/js/angular-v1.5.min.js:306:372
  n.Callbacks/i@http://127.0.0.1:50884/js/jquery-2.2.1.min.js:2:27060
  n.Callbacks/j.fireWith@http://127.0.0.1:50884/js/jquery-2.2.1.min.js:2:27828
  .ready@http://127.0.0.1:50884/js/jquery-2.2.1.min.js:2:29619
  J@http://127.0.0.1:50884/js/jquery-2.2.1.min.js:2:29804
  "
  </code></pre>
  
  <p>Please help</p>