I have a AngularJS scope method that fetches data with timer set for auto refresh .
$scope.GetOrders = function () { var url = window.location