Calling $http.get() multiple times always returns cached result
问题 I have an angular controller that makes repeated gets via the $http object, like this: $scope.refresh = function() { let url = 'api/get-status'; $http.get( url ).then( function( response ) { console.log( response.data ); }); }; $scope.intervalFunction = function() { $timeout( function() { $scope.refresh(); $scope.intervalFunction(); }, 2000 ) // msec }; $scope.refresh(); $scope.intervalFunction(); The fetches appear to happen. When I do this in chrome I see the results coming back as expected