title: Export JSON to CSV in Angular
body: <p>I am looking for ways to convert a JSON object into CSV format using Angular. I came across this <a href="https://www.npmjs.com/package/jsonexport" rel="nofollow">https://www.npmjs.com/package/jsonexport</a> which is exactly the kind of thing I want to use, but I am unsure if I can actually use this with Angular (seems to node specific?) and if not, are there any ready made directives, etc out there that I could feed some JSON into to get CSV back.</p>
  
  <p>Can anyone point me at some useful examples, I have had a look around and they seem to be few and far between and what I have found only seems to cope with very basic flat JSON structures.</p>
  
  <p>Thanks</p>