Click here to Skip to main content
15,797,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This code is proper working when i am using it into the html.
But when i use the same code for angularJS it giving me 404 error,

Why i am unable to export the file from my desktop.

someone have idea please suggest me.

                       <td><a class="btn btn-primary" href="Region Map.xlsx" target="_blank">Download_Region</a></td>
                       <th> Region</th>

1 solution

I think it is because of routing in angular. Try to use absolute url, like and if that works figure out the correct url for your scope.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900