Hi,
In my ionic angulajs project, under factory I am have replacde $http.get with AjaxService.http.get(url).success(function (data) {}. I am getting error: "AjaxService is not defined".
I have also passed AjaxInterceptor to the factory as,
.factory("someSrv", ["$rootScope", "$http", function ($rootScope, $http,AjaxInterceptor) {}
what am i supposed to do to resolve this?
please reply
Hi,
In my ionic angulajs project, under factory I am have replacde $http.get with AjaxService.http.get(url).success(function (data) {}. I am getting error: "AjaxService is not defined".
I have also passed AjaxInterceptor to the factory as,
.factory("someSrv", ["$rootScope", "$http", function ($rootScope, $http,AjaxInterceptor) {}
what am i supposed to do to resolve this?
please reply