title: How to download xml data in Angular table
body: <p>I am showing list of data in a table. In one column I am providing an option to download xml data for every row.</p>
  
  <pre><code>       0{
          firstName: null
          id: "04674"
          lastName: null
          orderId: "TEM001"
          productId: "TEM"
          receiptPeriod: "2016-02-26"
          requestData: "&lt;edem:eD..........d&gt;"
          }
        1{
          firstName: null
          id: "044a18b1022f674"
           lastName: null
           orderId: "TEM001"
          productId: "SURE"
          receiptPeriod: "2016-02-26"
          requestData: "&lt;edem:eD..........d&gt;"
          }
  </code></pre>
  
  <p>So If i click on download button it should downlaod Obj.requestdata of corrsponding row. How to achieve this?</p>
  
  <pre><code>      &lt;td class="align-center"&gt;
           &lt;span class="glyphicon glyphicon-download-alt btn-blue"ng-   click='something' &gt;&lt;/span&gt;
        &lt;/td&gt; 
  </code></pre>