Utilizing the .always() callback function in jQuery allows us to manage responses, regardless of whether they are successful or not.
Is there a similar functionality in AngularJS that serves the same purpose?
//jQuery
$.get( "test.php" ).always(function() {
alert( "$.get completed with success or error callback arguments" );
});
//AngularJS
$http({
method: 'GET',
url: '/someUrl'
}).then(function successCallback(response) {
//success
}, function errorCallback(response) {
//error
});
//How can the 'always' scenario be handled in AngularJS?