I have the following code, which was working fine until I deployed to a test server:
$scope.getUserList = function (userName) { $http({ method: \
I would just make all URL relative.
url: "../GetUserList",
instead
url: "GetUserList",
Hard coding for the, dose not sound good idea to me as you might need to change this environment to environment, and has dependency over virtual directory name.