1/**
2 * Controller for server
3 *
4 * @module app/serverControl
5 * @exports remoteConsoleWindowController
6 * @name remoteConsoleController
7 */
8
9window.angular && (function(angular) {
10  'use strict';
11
12  angular.module('app.serverControl')
13      .controller('remoteConsoleWindowController', [
14        '$scope', '$window', 'dataService',
15        function($scope, $window, dataService) {
16          $scope.dataService = dataService;
17          dataService.showNavigation = false;
18          dataService.bodyStyle = {'background': 'white'};
19
20          $scope.close = function() {
21            $window.close();
22          };
23        }
24      ]);
25})(angular);
26