080aa33bc43e4dd0929b7ef69965e2c1d353ff0c
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / ethService / ethService-module / src / main / resources / ethService / ethService.controller.js
1 /*
2  * Copyright (c) 2017 highstreet technologies GmbH and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 define(['app/ethService/ethService.module',
10   'app/ethService/ethService.services'],
11   function (ethServiceApp) {
12
13     ethServiceApp.register.controller('ethServiceCtrl', ['uiGridConstants', '$uibModal', '$scope', '$rootScope', '$window', '$timeout', '$ethService', '$mwtnLog',
14       function (uiGridConstants, $uibModal, $scope, $rootScope, $window, $timeout, $ethService, $mwtnLog) {
15
16         var COMPONENT = 'ethServiceCtrl';
17         $mwtnLog.info({ component: COMPONENT, message: 'ethServiceCtrl started!' });
18
19         $rootScope.section_logo = 'src/app/ethService/images/ethService.png'; // Add your topbar logo location here such as 'assets/images/logo_topology.gif'
20
21         $scope.highlightFilteredHeader = $ethService.highlightFilteredHeader;
22
23       }]);
24
25   });