<commit_before>﻿var app = angular.module('app', ['ui.router', 'ui.bootstrap', 'ui.select2', 'ngAnimate', 'notify', 'ui.utils', 'angularjs-dropdown-multiselect', 'ngSanitize']);

app.config([
    '$urlRouterProvider', function($urlRouterProvider) {
        $urlRouterProvider.otherwise('/');
    }
]);

app.config([
    '$httpProvider', 'notifyProvider', function($httpProvider, notifyProvider) {
        $httpProvider.interceptors.push("httpBusyInterceptor");

        notifyProvider.globalTimeToLive(5000);
        notifyProvider.onlyUniqueMessages(false);
    }
]);

app.run([
    '$rootScope', '$http', '$state', '$modal', 'notify', 'userService', 'uiSelect2Config',
    function ($rootScope, $http, $state, $modal, notify, userService, uiSelect2Config) {
        //init info
        $rootScope.page = {<commit_msg>Added no-cache header for get calls<commit_after>﻿var app = angular.module('app', ['ui.router', 'ui.bootstrap', 'ui.select2', 'ngAnimate', 'notify', 'ui.utils', 'angularjs-dropdown-multiselect', 'ngSanitize']);

app.config([
    '$urlRouterProvider', function($urlRouterProvider) {
        $urlRouterProvider.otherwise('/');
    }
]);

app.config([
    '$httpProvider', 'notifyProvider', function($httpProvider, notifyProvider) {
        $httpProvider.interceptors.push("httpBusyInterceptor");
        // for some reason templates aren't updated so this is needed
        $httpProvider.defaults.headers.get = {
            'Cache-Control': 'no-cache'
        };
        notifyProvider.globalTimeToLive(5000);
        notifyProvider.onlyUniqueMessages(false);
    }
]);

app.run([
    '$rootScope', '$http', '$state', '$modal', 'notify', 'userService', 'uiSelect2Config',
    function ($rootScope, $http, $state, $modal, notify, userService, uiSelect2Config) {
        //init info
        $rootScope.page = {
{'fraction_non_alphanumeric': 0.1726027397260274, 'fraction_numerical': 0.007671232876712329, 'mean_word_length': 4.100558659217877, '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': '4301534', 'n_tokens_mistral': 546, 'n_tokens_neox': 535, 'n_words': 102}