<commit_before>'use strict';

angular.module('angularAdmin', [
        'ngRoute',
        'angularAdmin.filters',
        'angularAdmin.services',
        'angularAdmin.directives',
        'angularAdmin.controllers'
    ])
    .config(['$routeProvider', function($routeProvider){
        $routeProvider
            .when('/', {
                templateUrl: 'partials/source-list.html',
                controller: 'SourceListController'
            })
            .otherwise({
                redirectTo: '/'
            });
    }]);
<commit_msg>replace ng-route and fix<commit_after>'use strict';

angular.module('angularAdmin', [
        'ui.router',
        'angularAdmin.filters',
        'angularAdmin.services',
        'angularAdmin.directives',
        'angularAdmin.controllers'
    ])
    .config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider){
        $urlRouterProvider.otherwise('/')
        
        $stateProvider
            .state('sources', {
                url: '/',
                views: {
                    'main@': {
                        templateUrl: 'partials/source-list.html',
                        controller: 'SourceListController'
                    }
                }
            })
    }]);

{'fraction_non_alphanumeric': 0.13522012578616352, 'fraction_numerical': 0.0, 'mean_word_length': 1.6301652892561984, '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': '4634475', 'n_tokens_mistral': 325, 'n_tokens_neox': 312, 'n_words': 43}