asafdav / ng-csv

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

Do some logic before download file. #49

Closed daruwanov closed 9 years ago

daruwanov commented 9 years ago

Hi i need do some logic before download the file. for example. User click button download, and see modal window where he can set the custom file name. after this he click OK - and after that it run download process..

At first i think that ng-click will help. But as i can see ng-click make it`s functionality after file was downloaded.

P.S sorry for my English.