I am working on a project where I had to import Excel data and create a web view for it, my current solution now is to parse it on C# and send the JSON result as API, I just discovered AlaSQL, importing the data with pure JS worked fine, but I can't figure out how to load it from controller to replace my current $http.get(..)

In short I need to replace Http.get with a call to an xls file on sitting on SharePoint using alasql and access data directly from the array.

Edit: Another way i will try to go is create a factory out of the returned java object from the excel file
Current code:

```
$http.get("xxx/file.json")
    .then(function(response) {
        $scope.xdata = response.data;
        $scope.zdata = response.data;
        $scope.collection = response.data;

        $scope.labels = [];
        $scope.data = [];

        $scope.datalength = $scope.zdata.length;

        $scope.loading = True;
    });
}

```