How does Angular2 handle Location response header
<p>When on a typical webpage, in response to an http request I do:</p>

<pre><code>&lt;?php
header('Location: http://example.com');
exit;
</code></pre>

<p>The browser automatically follows the location header to the new site.  </p>

<p>However, if the front-end is an Angular2 application, the browser doesn't follow this instruction.  Is this by design? Has any of you come across documentation on how Angular2 handles the <code>Location</code> response header?</p>