Closed aagbayani closed 8 years ago
Hi, did you try passing it that way ?
<button data-ng-csv="getReportItems()">...
Thanks, It is working now. All the time I wasted on trying to fix it, and the fix is so simple.
----- Original Message ----- From: "Asaf David" notifications@github.com To: "asafdav/ng-csv" ng-csv@noreply.github.com Cc: "aagbayani" aagbayani@exist.com Sent: Sunday, August 9, 2015 3:43:58 AM Subject: Re: [ng-csv] Added handling when a function is passed as parameter. (#101)
Hi, did you try passing it that way ?
<button data-ng-csv="getReportItems()">...
Reply to this email directly or view it on GitHub: https://github.com/asafdav/ng-csv/pull/101#issuecomment-129040744
No worries :)
Had an issue when I passed a function to ng-csv the change I did fixed it.
-- Button
-- Controller Js
-- Service Js