Skip to content

AjaxService is not defined #2

@sahassakhare

Description

@sahassakhare

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions