I'm currently using AngularJs to develop an application. The issue I am encountering is related to data not being refreshed in IE, even after executing the $route.reload() function. Strangely enough, this problem only occurs in Internet Explorer and works perfectly fine in other web browsers. I have tried testing it on different systems as well, but I still face the same refresh issue.
Below is the snippet of code causing concern:
Service.methodname(data1)
.success(function (data, status, header, config) {
$scope.response = data;
$('#mySchedulElection').modal('hide');
if (data == 1) {
$scope.showmessage('Election successfully saved', $scope.MessageType.success);
$route.reload();
}
}
});
Thank you for any help in advance.