asafdav / ng-csv

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

revise the mistake on the Export btn #155

Closed scuxiayiqian closed 8 years ago

scuxiayiqian commented 8 years ago

$scope.getArray is not a function but an array, so in html file it should be ng-csv="getArray" rather than ng-csv="getArray()" @asafdav Please take a look, I think it's quite important to revise mistakes in readme file ASAP.

asafdav commented 8 years ago

thanks @scuxiayiqian !