title: Why is AngularJS rewriting hashbang
body: <p>Why is AngularJS rewriting the address bar when I enter </p>
  
  <pre><code>www.domain.com/index.html/#!/content/sub/content 
  </code></pre>
  
  <p>to </p>
  
  <pre><code>www.domain.com/index.html#/!/content/sub/content
  </code></pre>
  
  <p>/#/! isn't standard hashbang syntax.. I want to keep it as #!/content/subcontent then parse the url with a custom function.</p>
  
  <p>I've tried </p>
  
  <pre><code>$location.html5Mode = false;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>angular.module('locationModule', [])
  
      .config(function($routeProvider, $locationProvider) {
          //$locationProvider.hashPrefix('!');
          $locationProvider.html5Mode = false;
      });
  </code></pre>
  
  <p>Neither of which seem to make a difference.</p>