While the code is working perfectly fine on localhost, as soon as I publish it I encounter an error that prevents the table from loading.
EnterpriseMaster/BindNatureofAssignment:1 Failed to load resource: the server responded with a status of 404 (Not Found)
var post = $http({
method: "POST",
url: "/EnterpriseMaster/BindNatureofAssignment",
dataType: 'json',
headers: { "Content-Type": "application/json" } });
post.success(function (data, status) {
//The received response is saved in Customers array.
$scope.NAO = data;
});