<commit_before>app = angular.module('twf', ['ngResource', 'ngRoute', 'templates', 'ui.bootstrap'])

app.config(['$httpProvider', '$routeProvider', '$locationProvider',
    ($httpProvider, $routeProvider, $locationProvider) ->
        $httpProvider.defaults.headers.common['X-CSRF-Token'] = $('meta[name=csrf-token]').attr('content')

        $routeProvider
        .when('/', {
                    templateUrl: '<%= asset_path('templates/game_list.html') %>',
                    controller: 'GameListCtrl'
                }).when('/page1', {
                    templateUrl: '<%= asset_path('templates/page1.html') %>',
                    controller: 'PagesCtrl'
                }).when('/page2', {
                    templateUrl: '<%= asset_path('templates/page2.html') %>',
                    controller: 'PagesCtrl'
                })
])
<commit_msg>Fixed controller names<commit_after>app = angular.module('twf', ['ngResource', 'ngRoute', 'templates', 'ui.bootstrap'])

app.config(['$httpProvider', '$routeProvider', '$locationProvider',
    ($httpProvider, $routeProvider, $locationProvider) ->
        $httpProvider.defaults.headers.common['X-CSRF-Token'] = $('meta[name=csrf-token]').attr('content')

        $routeProvider
        .when('/', {
                    templateUrl: '<%= asset_path('templates/game_list.html') %>',
                    controller: 'GameListCtrl'
                }).when('/page1', {
                    templateUrl: '<%= asset_path('templates/page1.html') %>',
                    controller: 'Page1Ctrl'
                }).when('/page2', {
                    templateUrl: '<%= asset_path('templates/page2.html') %>',
                    controller: 'Page2Ctrl'
                })
])

{'fraction_non_alphanumeric': 0.18224027858386535, 'fraction_numerical': 0.005803830528148578, 'mean_word_length': 2.234521575984991, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '7374892', 'n_tokens_mistral': 479, 'n_tokens_neox': 450, 'n_words': 62}