Sha256: 78b095186d792144208fddf5c49e146c91204584e7f4ce0a2824cb8d5a054346
Contents?: true
Size: 1.06 KB
Versions: 72
Compression:
Stored size: 1.06 KB
Contents
/** * @ngdoc object * @name Bastion.subscriptions.controller:SubscriptionProductsController * * @requires $scope * @requires $state * @requires Subscription * @requires Product * @requires CurrentOrganization * * @description * Provides the functionality for the subscription products action pane. */ angular.module('Bastion.subscriptions').controller('SubscriptionProductsController', ['$scope', '$state', 'Subscription', 'Product', 'CurrentOrganization', function ($scope, $state, Subscription, Product, CurrentOrganization) { $scope.displayArea = { working: true }; Product.queryUnpaged({'organization_id': CurrentOrganization, 'subscription_id': $scope.$stateParams.subscriptionId, enabled: true, 'full_result': true, 'include_available_content': true }, function (response) { $scope.products = response.results; $scope.displayArea.working = false; }); }] );
Version data entries
72 entries across 72 versions & 1 rubygems