title: static file downloading not working in angular 4
body: <p>I trying into download static file from HTML .It's not working</p>
  
  <p>app.routing.ts</p>
  
  <pre><code>   { path: 'application', component: ApplicationComponent},
      // otherwise redirect to home
     { path: '**', redirectTo: '/home' }
  </code></pre>
  
  <p>html</p>
  
  <pre><code>  &lt;a href="/excel_files/xxx.xlsx" target="_self" class="btn btn-primary"&gt;&lt;i class="fa fa-download"&gt;&lt;/i&gt; Download Spread Sheet&lt;/a&gt;
  </code></pre>
  
  <p>Here is link - <a href="http://localhost:4200/excel_files/xxx.xlsx" rel="nofollow noreferrer">http://localhost:4200/excel_files/xxx.xlsx</a> </p>
  
  <p>But it's redirect into home. </p>
  
  <p>Thanks.</p>