<commit_before>'use strict';


// Declare app level module which depends on filters, and services
var myApp = angular.module('myApp', ['ngRoute', 'log.extension.uo']);


myApp.config([ 'logExProvider', function(logExProvider) {

    logExProvider.enableLogging(true);

//    logExProvider.restrictLogMethods(['log', 'info', 'warn', 'debug', 'error', 'getInstance']);

    logExProvider.overrideLogPrefix(function (className) {

        var $injector = angular.injector([ 'ng' ]);
        var $filter = $injector.get( '$filter' );

        var formatMessage = "";
        var separator = " >> ";
        var format = "MMM-dd-yyyy-h:mm:ssa";
        var now = $filter('date')(new Date(), format);
        return "" + now + "::" + (className === null ? "" : className) + separator;
    });

}]);


myApp.config(['$routeProvider', function($routeProvider) {
    $routeProvider.when('/view1', {templateUrl: 'partials/partial1.html', controller: 'MyCtrl1'});
    $routeProvider.when('/view2', {templateUrl: 'partials/partial2.html', controller: 'MyCtrl2'});
    $routeProvider.otherwise({redirectTo: '/view1'});
}]);<commit_msg>fix formatting<commit_after>'use strict';


// Declare app level module which depends on filters, and services
var myApp = angular.module('myApp', ['ngRoute', 'log.extension.uo']);


myApp.config([ 'logExProvider', function(logExProvider) {

    logExProvider.enableLogging(true);

//    logExProvider.restrictLogMethods(['log', 'info', 'warn', 'debug', 'error', 'getInstance']);

    logExProvider.overrideLogPrefix(function (className) {

        var $injector = angular.injector([ 'ng' ]);
        var $filter = $injector.get( '$filter' );

        var formatMessage = "";
        var separator = " >> ";
        var format = "MMM-dd-yyyy-h:mm:ssa";
        var now = $filter('date')(new Date(), format);
        return "" + now + (className === null ? "" : "::" + className) + separator;
    });

}]);


myApp.config(['$routeProvider', function($routeProvider) {
    $routeProvider.when('/view1', {templateUrl: 'partials/partial1.html', controller: 'MyCtrl1'});
    $routeProvider.when('/view2', {templateUrl: 'partials/partial2.html', controller: 'MyCtrl2'});
    $routeProvider.otherwise({redirectTo: '/view1'});
}]);
{'fraction_non_alphanumeric': 0.18975501113585747, 'fraction_numerical': 0.0062360801781737195, 'mean_word_length': 4.058558558558558, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 7, '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': '3544809', 'n_tokens_mistral': 703, 'n_tokens_neox': 679, 'n_words': 139}