Sha256: 0abe462636fde3284d6775e6942a3a87fd02dd74f60f0bedc85ff6297b64b8ac
Contents?: true
Size: 873 Bytes
Versions: 17
Compression:
Stored size: 873 Bytes
Contents
/** * @ngdoc object * @name Bastion.subscriptions.controller:SubscriptionActivationKeysController * * @requires $scope * @requires $q * @requires translate * @requires Subscription * * @description * Provides the functionality for the subscription details for activation keys. */ angular.module('Bastion.subscriptions').controller('SubscriptionActivationKeysController', ['$scope', '$q', 'translate', 'Subscription', function ($scope, $q, translate, Subscription) { if ($scope.activationKeys) { $scope.working = false; } else { $scope.working = true; } $scope.table = {}; Subscription.get({id: $scope.$stateParams.subscriptionId}, function (subscription) { $scope.activationKeys = subscription['activation_keys']; $scope.working = false; }); }] );
Version data entries
17 entries across 17 versions & 1 rubygems