ix "{1}".</pre>
</div>

<h2>Description</h2>
<div class="description">
  <p>This error occurs when you configure the <a href="api/ng/service/$location"><code>$location</code></a> service in the html5 mode, specify a base url for your application via <code>&lt;base&gt;</code> element and try to update the location with a path that doesn&#39;t match the base prefix.</p>
<p>To resolve this issue, please check the base url specified via the <code>&lt;base&gt;</code> tag in the head of your main html document, a