AngularJS - Unable to call http serrvice using factory
问题 To resolve my issue I have gone through many articles on different sites, but none resolved it. I'm writing a simple AngularJS application. I'm quite new to Angular. I have written a factory method which call the $http service which gets the data from the web api. Web api is running fine and its returning the JSON object as expected. Angular Code var app = angular.module("app", []) .controller("controller", function ($scope, WebFactory) { $scope.data = "data"; $scope.error = "error"; $scope