title: Get data from URL in Angular 5
body: <p>I enter a link in url bar.</p>
  
  <pre><code>http://localhost:4200/reset-password-action/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9/5
  </code></pre>
  
  <p>I want to get <strong>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9</strong> and <strong>5</strong> from url.</p>
  
  <p>I have it in my <strong>app-routing.module.ts</strong> file.</p>
  
  <pre><code>const routes: Routes = [
    { path: 'reset-password-action/:token/:user_id', component: NewPasswordComponent }
  ];
  </code></pre>
  
  <p>I need a simple syntax to get this data.</p>