title: Passing parameters using alasql in angularjs
body: <p>js in my angular js project to export a grid to excel,
  heres my code:</p>
  
  <pre><code> inventaire.exportMyDataVille = function(data) {
  
          var city='Safi';
          alasql('SELECT * INTO XLSX("data.xlsx",{headers:true}) FROM ? WHERE secteur='+city+' GROUP BY secteur,agence,serie', [inventaire.myDataSource]);
      };
  </code></pre>
  
  <p>what im trying to do is to pass a parametre in the alasql but it gives a empty excel file??is there somthing wrong in the request</p>