0

I am referring for this link to work with alasql in angularjs http://plnkr.co/edit/2UKA8yPl9Uiarr2uSwEd?p=preview. But even though i change the alasql sources it still throws Reference error:alasql is not defined in the controller.What else should i change to make it work?

 $scope.exportData = function () {
    alasql('SELECT * INTO XLS("test.xls",?) FROM ?',[mystyle,$scope.items]);
};
GrailsLearner
  • 485
  • 1
  • 11
  • 23

0 Answers0