Sha256: a3985287eb9e20618b7270c243fb0857700c1ede659ea40a682cbbde630d2fa4
Contents?: true
Size: 774 Bytes
Versions: 9
Compression:
Stored size: 774 Bytes
Contents
/** * @ngdoc object * @name Bastion.sync-plan.controller:SyncPlanDetailsController * * @requires $scope * @requires $state * @requires SyncPlan * * @description * Provides the functionality for the sync plan details action pane. */ angular.module('Bastion.sync-plans').controller('SyncPlanDetailsController', ['$scope', '$state', 'SyncPlan', function ($scope, $state, SyncPlan) { $scope.successMessages = []; $scope.errorMessages = []; if ($scope.syncPlan) { $scope.panel = {loading: false}; } else { $scope.panel = {loading: true}; } $scope.syncPlan = SyncPlan.get({id: $scope.$stateParams.syncPlanId}, function () { $scope.panel.loading = false; }); }] );
Version data entries
9 entries across 9 versions & 1 rubygems