<commit_before>angular.module('specialBlogApp', [
  'ngRoute',
  'ngResource'
])
  .config(function ($routeProvider, $locationProvider) {
      $routeProvider
        .when('/', {
                templateUrl: 'views/index.html',
                controller: 'HomeCtrl'
              })
        .when('/article/:articleId', {
                templateUrl: 'views/article.html',
                controller: 'ArticleCtrl'
              })
        .when('/articles', {
                templateUrl: 'views/articles.html',
                controller: 'ArticlesCtrl'
              })
        .otherwise({
                redirectTo: '/'
              });
  
      $locationProvider.html5Mode(true);
    });<commit_msg>Fix the bug of **Tried to load angular more than once.**.<commit_after>angular.module('specialBlogApp', [
  'ngRoute',
  'ngResource'
])
  .config(function ($routeProvider, $locationProvider) {
      $routeProvider
        .when('/', {
                templateUrl: '/views/index.html',
                controller: 'HomeCtrl'
              })
        .when('/article/:articleId', {
                templateUrl: '/views/article.html',
                controller: 'ArticleCtrl'
              })
        .when('/articles', {
                templateUrl: '/views/articles.html',
                controller: 'ArticlesCtrl'
              })
        .otherwise({
                redirectTo: '/'
              });
  
      $locationProvider.html5Mode(true);
    });
{'fraction_non_alphanumeric': 0.14129692832764504, 'fraction_numerical': 0.0013651877133105802, 'mean_word_length': 1.5540069686411149, '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': '1628300', 'n_tokens_mistral': 396, 'n_tokens_neox': 373, 'n_words': 60}