title: Angular does not run on an IIS server after removing the # symbol from the URL
body: <p>I am developing a web platform using <strong>Angular</strong> JS as a client side framework and <strong>.Net</strong> as a Server side framework for creating <strong>Rest</strong> webservices.
  Now, my goal is to remove the <strong>#</strong> symbol. I have followed these steps:</p>
  
  <ol>
  <li>Configure <code>$locationProvider</code> and set <code>html5Mode</code> to <code>true</code>.</li>
  <li>Add the <code>base</code> tag to <code>index.html</code> file  (<code>&lt;base href="/"&gt;</code>).</li>
  <li>Configure the <strong>iis</strong> server for rewrite mode.</li>
  </ol>
  
  <p>After successfully completing these steps, the <strong>#</strong> is removed from the url and I am able to navigate between routes but <strong>Angular</strong> does not run correctly (for example: <code>ng-show</code> and <code>ng-disabled</code> directives and my app's controllers are not working).</p>
  
  <p>I have tried to add <code>angular-csp.css</code> to my <code>index.html</code> file and add a <code>ng-csp</code> directive to its <code>body</code> tag but the problem persists.</p>
  
  <p>Is this problem related to a client side configuration (some <strong>Angular</strong> configs) or a Server side configuration (<strong>iis</strong> server configs) and how to solve it?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The project runs correctly on my local <strong>node http server</strong>. I have tested all functionalities locally and no errors in the browser's console.</p>