asafdav / ng-csv

Simple directive that turns arrays and objects into downloadable CSV files
MIT License
573 stars 215 forks source link

Adding support for title row in addition to header row. #196

Open nealhamilton opened 7 years ago

nealhamilton commented 7 years ago

Business owners came back with a request for adding a title to our .csv files in order to give important information like date range and informative text to excel file. I added a title attribute to the directive title:@csvTitle and then safely added it to the blob's constructor.