title: How to display local Pdf file in new browser tab in Angularjs 2?
body: <p>Am using angular 2, am trying to display <code>index.pdf</code> file placed inside app folder, i am trying to display this Pdf file when user click on link, so that it will be redirected/open local Pdf file in a browser by having new tab (localhost:4200/index.pdf).</p>
  
  <pre><code>&gt;     src -&gt; app -&gt; index.pdf
  &gt;     src -&gt; app -&gt; app.component.html
  </code></pre>
  
  <p>//Inside app.component.html</p>
  
  <pre><code>&lt;a href="index.pdf" target="_blank"&gt;PDF&lt;/a&gt;
  </code></pre>
  
  <p>Above process is not working,I am new to angular, can any one help/guide me on the right way to achieve this, help would be appreciated.</p>
  
  <p>I found few similar questions, but answers are getting confused or not helped me.</p>