Sha256: 1749f0c03a626acb88e32ca265f38940176a40e08395c9fc7c5a2e04c1e7dfd0
Contents?: true
Size: 643 Bytes
Versions: 9
Compression:
Stored size: 643 Bytes
Contents
/** * @ngdoc object * @name Bastion.errata.controller:ErrataDetailsController * * @requires $scope * @requires Errata * * @description * Provides the functionality for the errata details action pane. */ angular.module('Bastion.packages').controller('PackageDetailsController', ['$scope', 'Package', function ($scope, Package) { if ($scope.package) { $scope.panel = {loading: false}; } else { $scope.panel = {loading: true}; } $scope.package = Package.get({id: $scope.$stateParams.packageId}, function () { $scope.panel.loading = false; }); } ]);
Version data entries
9 entries across 9 versions & 1 rubygems