title: What is the easiest way to get Current Route Path Name in Angular?
body: <p>I was looking for a good way to get the current route's path name. This was the easiest I could find.</p>
  
  <pre><code>this.route.snapshot.firstChild.url[0].path
  </code></pre>
  
  <p>Is there a better way? Thanks!</p>