asafdav / ng-csv

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

Lazy-loading is not working #89

Open bairaginath opened 9 years ago

bairaginath commented 9 years ago

$scope binding does not work on lazy loading if i fetch data from server.

bairaginath commented 9 years ago

before binding data ,it downloaded file

rajansoft1 commented 9 years ago

are you passing promise to it?

bairaginath commented 9 years ago

yes Rajan , i already use promise . actually problem is before data binding csv file is downloaded.so in this case i use again click event fired after completed data binding.if u have any idea on please let me know . advance thanks .........

rajansoft1 commented 9 years ago

can you write a plunkr to show me what you are doing, and can you also show me the data contract of your response?