title: Export to xls using angularjs
body: <p>I am working on angular js app and I stuck in a situation in which I have to export data to Xls using angular js. I have searched a lot on the internet for export functionality or any library for angular js so I can do that or at least I can get the idea how to export. I don't have any code or work to show here. </p>
  
  <p>I need suggestions. Please help me on this. </p>
  
  <p>Thanks in advance.</p>
  
  <p>Update:</p>
  
  <p>I have a data which is an array of objects and I am iterating that on UI in a table. My backend is node.js and frontend are angular js.</p>
  
  <p>My problem is if we have the data from the server and I am using on UI, how can I use the same data to export to Xls using angular js. I don't want to give a call again on the backend to extract the data and export that. </p>
  
  <p>In the existing table, the user can select the checkbox (Any number of rows or all rows) to extract the data to Xls.</p>
  
  <p>In node.js I have used node module whose name is: Excel and it is available on nodemodules site.</p>
  
  <p>My data is like that:</p>
  
  <pre><code>"data": [
      {
          "Name": "ANC101",
          "Date": "10/02/2014",
          "Terms": ["samsung", "nokia": "apple"]
      },{
          "Name": "ABC102",
          "Date": "10/02/2014",
          "Terms": ["motrolla", "nokia": "iPhone"]
      }
  ]
  </code></pre>
  
  <p>I want the solution using angularjs or any angularjs library.</p>