Skip to content

Instantly share code, notes, and snippets.

@jrgcubano
Forked from wullemsb/applications.js
Created May 26, 2014 07:45
Show Gist options
  • Save jrgcubano/f94433d00fd675822048 to your computer and use it in GitHub Desktop.
Save jrgcubano/f94433d00fd675822048 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