title: How to detect direct URL navigation in Router Guard?
body: <p>I have a guard protecting some routes.</p>
  
  <p>In case when user has no access to the specified route the guard should do the following:</p>
  
  <ul>
  <li><strong>Do nothing</strong> if navigation was made inside Angular application (<code>routerLink</code>)</li>
  <li><strong>Navigate to home page</strong> if it's standard browser navigation (it causes Angular initialization)</li>
  </ul>
  
  <p>What should I check to know which execution path to choose?</p>