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 mwtnPerformanceHistoryApp = angular.module('app.mwtnPerformanceHistory', ['ui.grid', 'ui.bootstrap', 'app.core', 'ui.router.state', 'config', 'ui.router.state','ui.grid.exporter',
15 'ui.grid.moveColumns', 'ui.grid.pinning', 'ui.grid.selection',
16 'ui.grid.resizeColumns', 'ui.grid.pagination']);
18 mwtnPerformanceHistoryApp.config(function($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $translateProvider) {
19 mwtnPerformanceHistoryApp.register = {
20 controller : $controllerProvider.register,
21 directive : $compileProvider.directive,
22 factory : $provide.factory,
23 service : $provide.service
27 NavHelperProvider.addControllerUrl('app/mwtnPerformanceHistory/mwtnPerformanceHistory.controller');
28 NavHelperProvider.addToMenu('mwtnPerformanceHistory', {
29 "link" : "#/pnfPerformanceHistory/",
30 "active" : "main.mwtnPerformanceHistory",
31 "title" : "pnf PM History",
32 "icon" : "fa fa-bar-chart", // Add navigation icon css class here
34 "title" : "pnf PM History",
35 "description" : "mwtnHistoricalPerformance"
39 var access = routingConfig.accessLevels;
41 $stateProvider.state('main.mwtnPerformanceHistory', {
42 url: 'pnfPerformanceHistory/:nodeId',
46 templateUrl: 'src/app/mwtnPerformanceHistory/mwtnPerformanceHistory.tpl.html',
47 controller: 'mwtnPerformanceHistoryCtrl'
54 return mwtnPerformanceHistoryApp;