title: Angular 7 Router - Navigate without adding to the history
body: <p>Using Angular Router, I want to navigate to another url without adding it to the browser history.</p>
  <pre><code>this.router.navigateByUrl(`${pathWithoutFragment}#${newFragment}`);
  </code></pre>
  <p>Can I do it with only Angular?</p>