asafdav / ng-csv

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

ng-csv directive is loading before ng-click #112

Open sonasaran opened 8 years ago

sonasaran commented 8 years ago

if i want to send request and get response data when button click, this is not supportive for multiple file download from a page?

ng-csv is loading first and its not watching the changes. i can't pass data to ng-csv="getArray" from ng-click="function".

is there any solution?

yusuf9982 commented 6 years ago

Facing the same issue - csv gets created first and the data generated by ng-click funtion doesn't get exported.