2 * Copyright (c) 2016 highstreet technologies GmbH and others. All rights reserved.
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
11 'app/core/core.services',
12 'common/config/env.module',
13 'app/mwtnCommons/mwtnCommons.module'], function(ng) {
14 var mwtnConnectApp = angular.module('app.mwtnConnect', [ 'ui.grid', 'ui.bootstrap', 'app.core',
15 'ui.router.state', 'config', 'ui.grid.exporter',
16 'ui.grid.moveColumns', 'ui.grid.pinning', 'ui.grid.selection',
17 'ui.grid.resizeColumns', 'angular-clipboard' ]);
19 mwtnConnectApp.config(function($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $translateProvider) {
21 mwtnConnectApp.register = {
22 controller : $controllerProvider.register,
23 directive : $compileProvider.directive,
24 factory : $provide.factory,
25 service : $provide.service
28 NavHelperProvider.addControllerUrl('app/mwtnConnect/mwtnConnect.controller');
29 NavHelperProvider.addToMenu('mwtnConnect', {
31 "active" : "main.mwtnConnect",
33 "icon" : "fa fa-plug", // Add navigation icon css class here
36 "description" : "Connection supervision of physical network function to ONAP SDN-C-4-Wireless"
40 var access = routingConfig.accessLevels;
42 $stateProvider.state('main.mwtnConnect', {
47 templateUrl: 'src/app/mwtnConnect/mwtnConnect.tpl.html',
48 controller: 'mwtnConnectCtrl'
55 return mwtnConnectApp;