Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created May 12, 2014 18:53
Show Gist options
  • Save wullemsb/2f4445a0203580ed3ce8 to your computer and use it in GitHub Desktop.
Save wullemsb/2f4445a0203580ed3ce8 to your computer and use it in GitHub Desktop.
applicationsService.getApplications().then(function (response) {
$scope.applications = response.data;
}).catch(function (data) {
$scope.applications = null;
})['finally'](function () {
$scope.isBusy = false;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment