I have a table displaying a list of data. Each row includes an option to download XML data.
0{
firstName: null
id: "04674"
lastName: null
orderId: "TEM001"
productId: "TEM"
receiptPeriod: "2016-02-26"
requestData: "<edem:eD..........d>"
}
1{
firstName: null
id: "044a18b1022f674"
lastName: null
orderId: "TEM001"
productId: "SURE"
receiptPeriod: "2016-02-26"
requestData: "<edem:eD..........d>"
}
When the download button is clicked, it should download Obj.requestdata from the corresponding row. How can this be accomplished?
<td class="align-center">
<span class="glyphicon glyphicon-download-alt btn-blue" ng-click='something' ></span>
</td>