Sha256: 50e7bcf1d5ac182aeb21682e0650062aa87a20bb4b2cdc7d0eac6cbdab6744fb
Contents?: true
Size: 882 Bytes
Versions: 123
Compression:
Stored size: 882 Bytes
Contents
(function () { /** * @ngdoc object * @name Bastion.debs.controller:DebController * * @description * Provides the functionality for the debs details action pane. */ function DebController($scope, Deb, ApiErrorHandler) { $scope.panel = { error: false, loading: true }; if ($scope.deb) { $scope.panel.loading = false; } $scope.deb = Deb.get({id: $scope.$stateParams.debId}, function () { $scope.panel.loading = false; }, function (response) { $scope.panel.loading = false; ApiErrorHandler.handleGETRequestErrors(response, $scope); }); } angular .module('Bastion.debs') .controller('DebController', DebController); DebController.$inject = ['$scope', 'Deb', 'ApiErrorHandler']; })();
Version data entries
123 entries across 123 versions & 1 rubygems