Sha256: 1d63c2b9a50790e0dcbc46741088ad8ce289ca33a5226109d8ab293931f8c67b
Contents?: true
Size: 637 Bytes
Versions: 9
Compression:
Stored size: 637 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.errata').controller('ErrataDetailsController', ['$scope', 'Erratum', function ($scope, Erratum) { if ($scope.errata) { $scope.panel = {loading: false}; } else { $scope.panel = {loading: true}; } $scope.errata = Erratum.get({id: $scope.$stateParams.errataId}, function () { $scope.panel.loading = false; }); } ]);
Version data entries
9 entries across 9 versions & 1 rubygems