Sha256: 332030ef72bcebcfc71faa7adca47d3b956f11c31c7440d9b46bbfb804fe6bf6
Contents?: true
Size: 845 Bytes
Versions: 9
Compression:
Stored size: 845 Bytes
Contents
(function () { /** * @ngdoc object * @name Bastion.puppet-modules.controller:PuppetModulesDetailsController * * @description * Provides the functionality for the puppet modules details action pane. */ function PuppetModulesDetailsController($scope, PuppetModule) { if ($scope.puppetModule) { $scope.panel = {loading: false}; } else { $scope.panel = {loading: true}; } $scope.puppetModule = PuppetModule.get({id: $scope.$stateParams.puppetModuleId}, function () { $scope.panel.loading = false; }); } angular .module('Bastion.puppet-modules') .controller('PuppetModulesDetailsController', PuppetModulesDetailsController); PuppetModulesDetailsController.$inject = ['$scope', 'PuppetModule']; })();
Version data entries
9 entries across 9 versions & 1 rubygems