title: Angular 7 - how to check if the user directly navigate into the page
body: <p>I have an app with the next routing structure:</p>
  
  <pre><code>{
      path: "home",
      component: HomeComponent,
      children: [
          {
              path: "list",
              component: ListViewComponent
          },
          {
              path: "dashboard",
              component: DashboardComponent
          },
          {
              path: '',
              pathMatch: 'full',
              redirectTo: 'dashboard'
          },
          {
              path: "**",
              redirectTo: 'dashboard'
          }
      ]
  }
  </code></pre>
  
  <p>how I can check if the user navigates into the page by full path eg <code>home/list</code> or by <code>redirectTo</code>? </p>