<commit_before>var app = angular.module('marioKart', ['ngRoute']);

app.run(function ($rootScope) {
  // Default language is english
  $rootScope.lang = 'en';
});

app.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
  $routeProvider.
    when('/', {
      templateUrl: 'app/views/welcome.html',
      controller: 'welcomeController'
    }).
    when('/test'), {
      templateUrl: 'app/views/test.html',
    }
    when('/home', {
      templateUrl: 'app/views/home.html',
      controller: 'homeController'
    }).
    otherwise({
      redirectTo: '/'
    });
}]);
<commit_msg>fix bug come on yixuan :(<commit_after>var app = angular.module('marioKart', ['ngRoute']);

app.run(function ($rootScope) {
  // Default language is english
  $rootScope.lang = 'en';
});

app.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
  $routeProvider.
    when('/', {
      templateUrl: 'app/views/welcome.html',
      controller: 'welcomeController'
    }).
    when('/test', {
      templateUrl: 'app/views/test.html',
    });
    when('/home', {
      templateUrl: 'app/views/home.html',
      controller: 'homeController'
    }).
    otherwise({
      redirectTo: '/'
    });
}]);

{'fraction_non_alphanumeric': 0.1879460745440127, 'fraction_numerical': 0.0, 'mean_word_length': 3.2348993288590604, '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': '554488', 'n_tokens_mistral': 397, 'n_tokens_neox': 393, 'n_words': 71}