title: Object to Csv conversion
body: <p>in javascript (Angular)</p>
  
  <p>trying to convert an array of objects into a csv file</p>
  
  <p>the objects are like</p>
  
  <pre><code>{name:ab, phone:231}
  {name:alex,email:alex@gmail.com}
  {name: john, phone: 342, email: j@j.io}
  </code></pre>
  
  <p>how to convert this object to csv so that im not losing any of the fields</p>