title: anchor href vs angular routerlink
body: <p>I am trying to use anchor tag with href in my Angular 7 app. When I click on the link the url changes in the browser but the page doesn't get navigated to. It works if I put target="_self" so this works </p>
  
  <pre><code>&lt;a href="/abcd" target="_self"&gt;Abcd&lt;/a&gt;
  </code></pre>
  
  <p>but this does not work only the url changes in the browser but nothing happens</p>
  
  <pre><code>&lt;a href="/abcd"&gt;Abcd&lt;/a&gt;
  </code></pre>
  
  <p>where as if I use Angular routing and use RouterLink it works. </p>
  
  <pre><code>&lt;a routerLink="/abcd" routerLinkActive="active"&gt;Abcd&lt;/a&gt;
  </code></pre>
  
  <p>Can anyone explain the behaviour please.</p>