8dc0fdb2557dd2eab71f58221ea7a3e89a0d998c
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / otnBrowser / otnBrowser-module / src / main / resources / otnBrowser / otnBrowser.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/otnBrowser/otnBrowser.module',
10   'app/otnBrowser/otnBrowser.services'],
11   function (otnBrowserApp) {
12
13     otnBrowserApp.register.controller('otnBrowserCtrl', ['uiGridConstants', '$uibModal', '$scope', '$rootScope', '$window', '$timeout', '$otnBrowser', '$mwtnLog',
14       function (uiGridConstants, $uibModal, $scope, $rootScope, $window, $timeout, $otnBrowser, $mwtnLog) {
15
16         var COMPONENT = 'otnBrowserCtrl';
17         $mwtnLog.info({ component: COMPONENT, message: 'otnBrowserCtrl started!' });
18
19         $rootScope.section_logo = 'src/app/otnBrowser/images/otnBrowser.png'; // Add your topbar logo location here such as 'assets/images/logo_topology.gif'
20
21         $scope.highlightFilteredHeader = $otnBrowser.highlightFilteredHeader;
22
23       }]);
24
25   });