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 mwtnSpectrumApp = angular.module('app.mwtnSpectrum', ['ui.grid', 'ui.bootstrap', 'app.core', 'ui.router.state','config']);
16 mwtnSpectrumApp.config(function($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $translateProvider) {
17 mwtnSpectrumApp.register = {
18 controller : $controllerProvider.register,
19 directive : $compileProvider.directive,
20 factory : $provide.factory,
21 service : $provide.service
26 NavHelperProvider.addControllerUrl('app/mwtnSpectrum/mwtnSpectrum.controller');
27 NavHelperProvider.addToMenu('mwtnSpectrum', {
28 "link" : "#/mwtnSpectrum",
29 "active" : "main.mwtnSpectrum",
30 "title" : "MWTN Spectrum",
31 "icon" : "fa fa-bar-chart", // Add navigation icon css class here
33 "title" : "MWTN Spectrum",
34 "description" : "mwtnSpectrum"
38 var access = routingConfig.accessLevels;
40 $stateProvider.state('main.mwtnSpectrum', {
45 templateUrl: 'src/app/mwtnSpectrum/mwtnSpectrum.tpl.html',
46 controller: 'mwtnSpectrumCtrl'
53 return mwtnSpectrumApp;