title: How to route/link to a PDF file in Angular 2?
body: <p>I'm trying to retrieve a client side pdf file to display in the browser. Tried your normal href, path relative to the html file, and it doesn't work.</p>
  
  <pre><code>&lt;a href="../assets/file.pdf&gt;Get File&lt;/a&gt;
  </code></pre>
  
  <p>And using routing doesn't work either, or I'm not using the right tag...</p>
  
  <pre><code>RouterModule.forRoot([
    { path:"resume", redirectTo: '../assets/file.pdf' },
    { path: '', component: AppComponent }
  ])
  </code></pre>
  
  <p>Not sure if Routing is the way to go either, I have only learned to route components based on their documentation.</p>