I have issues with data values in a table and I'm trying to wrap the data in anchor tags so that it can be a downloadable link i tried to use ng-href but i can use target. is there an easier way of doing this? i was the data to show normally on the browser and have use click on it to download an image. but it shows an ugly anchor tag as well :/ this is my code with normal a href i have tried using this as well, which was an answer for angular.js link behaviour - disable deep linking for specific URLs
<td><a target="_self" href="//tomcmmsweb.pca.com/DocumentLibrary/Download/{{item.documentId}}">{{item.jobNumber}}</a></td>
but above still didnt work. im using angularJS 1.2.16, im running out of ideas and im notthat much of an expert with angularJS. would really appreciate some knowledge.
<table class="table table-striped table table-hover">
<thead>
<tr>
<th>Project Manager</th>
<th>Job Number</th>
<th>Description</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in counce">
<td><a href="//coucmmsweb.pca.com/DocumentLibrary/Download/{{item.documentId}}" target="_blank">{{item.projectManager}}</a></td>
<td><a href="//coucmmsweb.pca.com/DocumentLibrary/Download/{{item.documentId}}" target="_blank">{{item.jobNumber}}</a></td>
<td><a href="//coucmmsweb.pca.com/DocumentLibrary/Download/{{item.documentId}}" target="_blank">{{item.description}}</a></td>
<td><a href="//coucmmsweb.pca.com/DocumentLibrary/Download/{{item.documentId}}" target="_blank">{{item.totalAmount*1000 | currency}}</a></td>
</tr>
</tbody>
</table>