Sha256: c51216875e26f1fc404183ac0323503aab0782287c2d136dabebb1b2a41b1096
Contents?: true
Size: 970 Bytes
Versions: 24
Compression:
Stored size: 970 Bytes
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 }, function (response) { $scope.products = response.results; $scope.displayArea.working = false; }); }] );
Version data entries
24 entries across 24 versions & 1 rubygems