Sha256: 9e8bece94c638b186251dc4744022fdb4eebe5ccf60caa2a6dc8abf51eec8e6a
Contents?: true
Size: 872 Bytes
Versions: 28
Compression:
Stored size: 872 Bytes
Contents
/** * @ngdoc object * @name Bastion.errata.controller:ErrataDetailsController * * @requires $scope * @requires Errata * @requires ApiErrorHandler * * @description * Provides the functionality for the errata details action pane. */ angular.module('Bastion.errata').controller('ErrataDetailsController', ['$scope', 'Erratum', 'ApiErrorHandler', function ($scope, Erratum, ApiErrorHandler) { $scope.panel = { error: false, loading: true }; if ($scope.errata) { $scope.panel.loading = false; } $scope.errata = Erratum.get({id: $scope.$stateParams.errataId}, function () { $scope.panel.loading = false; }, function (response) { $scope.panel.loading = false; ApiErrorHandler.handleGETRequestErrors(response, $scope); }); } ]);
Version data entries
28 entries across 28 versions & 1 rubygems