<commit_before>'use strict';


angular.module('genex', ['ngRoute', 'genjs.services', 'genex.controllers'])

    .config(['$routeProvider', function ($routeProvider) {
        $routeProvider.when('/', {
            templateUrl: '/static/genapp-genex/partials/genex.html',
            controller: 'GenExCtrl'
        })
        .otherwise({
            redirectTo: '/'
        });
    }])

    .config(['$httpProvider', function ($httpProvider) {
        // Adds a csrftoken to all http requests.
        $httpProvider.defaults.headers.common['X-CSRFToken'] = $.cookie('csrftoken');
    }])

    .run(['forceTitle', function (forceTitle) {
        forceTitle('GenEx');
    }])
;<commit_msg>Set title via constant<commit_after>'use strict';


angular.module('genex', ['ngRoute', 'genjs.services', 'genex.controllers'])

    .config(['$routeProvider', function ($routeProvider) {
        $routeProvider.when('/', {
            templateUrl: '/static/genapp-genex/partials/genex.html',
            controller: 'GenExCtrl'
        })
        .otherwise({
            redirectTo: '/'
        });
    }])
    .constant('title', 'GenEx')
;
{'fraction_non_alphanumeric': 0.17980513728963685, 'fraction_numerical': 0.0, 'mean_word_length': 2.5873015873015874, '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': '2951435', 'n_tokens_mistral': 344, 'n_tokens_neox': 335, 'n_words': 53}