<commit_before>var mainApp = angular.module('jsClient', [
    'ngRoute',
    'n52.core.map',
    'n52.core.menu',
    'n52.client.menu',
    'n52.core.userSettings',
    'n52.core.legend',
    'n52.core.table',
    'n52.core.exportTs',
    'n52.core.timeUi',
    'n52.core.modal',
    'n52.core.diagram',
    'n52.core.overviewDiagram',
    'n52.core.dataLoading',
    'n52.core.listSelection',
    'n52.core.startup',
    'n52.core.favoriteUi',
    'n52.core.alert',
    'n52.core.permalinkEval',
    'n52.core.translateSelector']);

mainApp.config(['$routeProvider', 'MenuProvider', function ($routeProvider, MenuProvider) {
        $routeProvider
                .when('/', {templateUrl: 'templates/views/diagramView.html', reloadOnSearch: false})
                .when('/diagram', {templateUrl: 'templates/views/diagramView.html', reloadOnSearch: false})
                .when('/map', {templateUrl: 'templates/views/mapView.html', reloadOnSearch: false})
                .when('/favorite', {templateUrl: 'templates/views/favoriteView.html', reloadOnSearch: false})
                .otherwise({redirectTo: '/'});
        MenuProvider.add({
            url: '/map',
            title: 'main.mapView',
            target: '#map',
            icon: 'glyphicon-globe'
        });
        MenuProvider.add({
            url: '/diagram',
            title: 'main.chartView',
            target: '#diagram',
            icon: 'glyphicon-stats'
        });
        MenuProvider.add({
            title: 'main.settings',
            icon: 'glyphicon-cog',
            controller: 'SwcUserSettingsCtrl',
            click: 'open()'
        });
        MenuProvider.add({
            url: '/favorite',
            title: 'main.favoriteView',<commit_msg>add module imports to app definition<commit_after>var mainApp = angular.module('jsClient', [
    'ngRoute',
    'ui.bootstrap',
    'ui-notification',
    'LocalStorageModule',
    'leaflet-directive', 
    'pascalprecht.translate',
    'ngTable',
    'ngResource',
    
    'n52.core.alert',
    'n52.core.barChart',
    'n52.core.color',
    'n52.core.dataLoading',
    'n52.core.diagram',
    'n52.core.exportTs',
    'n52.core.favorite',
    'n52.core.favoriteUi',
    'n52.core.flot',
    'n52.core.interface', 
    'n52.core.legend',
    'n52.core.listSelection',
    'n52.core.locate',
    'n52.core.map',
    'n52.core.menu',
    'n52.core.userSettings',
    'n52.core.legend',
    'n52.core.table',
    'n52.core.exportTs',
    'n52.core.timeUi',
    'n52.core.modal',
    'n52.core.overviewDiagram',
    'n52.core.permalinkEval',
    'n52.core.permalinkGen', 
    'n52.core.phenomena',
    'n52.core.provider',
    'n52.core.userSettings',
    'n52.core.settings',
    'n52.core.startup',
    'n52.core.station', 
    'n52.core.status',
    'n52.core.style',
    'n52.core.styleTs',
    'n52.core.table',
    'n52.core.time',
    'n52.core.timeUi',
    'n52.core.timeseries',
    'n52.core.translateSelector',
    'n52.core.utils',
    'n52.core.yAxisHide',
    
    'n52.client.menu'
]);

mainApp.config(['$routeProvider', 'MenuProvider', function ($routeProvider, MenuProvider) {
        $routeProvider
                .when('/', {templateUrl: 'templates/views/diagramView.html', reloadOnSearch: false})
                .when('/diagram', {templateUrl: 'templates/views/diagramView.html', reloadOnSearch: false})
                .when('/map', {templateUrl: 'templates/views/mapView.html', reloadOnSearch: false})
                .when('/favorite', {templateUrl: 'templates/views/favoriteView.html', reloadOnSearch: false})
                .otherwise({redirectTo: '/'});
        MenuProvider.add({
            url: '/map',
            title: 'main.mapView',
            target: '#map',
            icon: 'glyphicon-globe'
        });
        MenuProvider.add({
            url: '/diagram',
            title: 'main.chartView',
            target: '#diagram',
            icon: 'glyphicon-stats'
        });
        MenuProvider.add({
            title: 'main.settings',
            icon: 'glyphicon-cog',
            controller: 'SwcUserSettingsCtrl',
            click: 'open()'
        });
        MenuProvider.add({
            url: '/favorite',
            title: 'main.favoriteView',
{'fraction_non_alphanumeric': 0.16827716238510487, 'fraction_numerical': 0.027810511430591562, 'mean_word_length': 2.2127176381529146, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1483914', 'n_tokens_mistral': 1486, 'n_tokens_neox': 1387, 'n_words': 196}