title: Angular Removed # tags in urls. But not working as expected
body: <p>I just removed # tag from my url of angular single page app. </p>
  
  <p>I did like. </p>
  
  <pre><code>$locationProvider.html5Mode(true);
  </code></pre>
  
  <p>And It worked fine. </p>
  
  <p>My problem is when I directly enter any url to the browser it showing a 404 error. And its working fine when I traverse throughout the app through links.</p>
  
  <pre><code>Eg: www.example.com/search  
      www.example.com/search_result
      www.example.com/project_detail?pid=19
  </code></pre>
  
  <p>All these url's are working fine. But when I directly enter any of the above url's into my browser it showing a 404 error. </p>
  
  <p>Please any thoughts on it. 
  Thanks in advance. </p>