Assign image keyname and pubkey at vnf level
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / mwtnCommons / mwtnCommons-module / src / main / resources / mwtnCommons / mwtnCommons.controller.js
1 /*
2  * Copyright (c) 2016 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/mwtnCommons/mwtnCommons.module',
10         'app/mwtnCommons/mwtnCommons.services'], function(mwtnCommonsApp) {
11
12   mwtnCommonsApp.register.controller('mwtnCommonsCtrl', ['$scope', '$rootScope', '$mwtnCommons', '$mwtnLog', 'FileReader', 
13                                                          function($scope, $rootScope, $mwtnCommons, $mwtnLog, FileReader) {
14
15     $rootScope.section_logo = ''; // Add your topbar logo location here such as 'assets/images/logo_topology.gif'
16
17     $scope.mwtnCommonsInfo = {};
18
19     $mwtnCommons.getData(function(data){
20       $scope.data = data;      
21     });
22     
23   }]);
24
25 });