Angularjs Part is not working after Deploying in IIS 8.5 , this is my js file this code works in local machine with Visual Studio 2012
angular.module('MyApp').controller("DataViewController", ["$scope", "RequestService", function($scope, RequestService) {
$scope.Requests = [];
RequestService.GetRequests().then(function (d) {
$scope.Requests = d.data
});
}])
.factory('RequestService', function ($http) {
var fac = {};
fac.GetRequests = function () {
return $http.get('/Data/EmployeeRequests');
}
return fac;
});