<commit_before>angular.module('app', [
  'ngRoute',
  //'projectsinfo',
  //'dashboard',
  //'projects',
  //'admin',
  'signup',
  'login',
  'account',
  'config',
  'services.i18nNotifications',
  'services.httpRequestTracker',
  'services.easyRestResource',
  'security',
  'templates.app',
  'templates.common',
  'ui.bootstrap'
]);


// Node.js Express backend csurf module csrf/xsrf token cookie name
angular.module('app').config(['$httpProvider', function($httpProvider){
  $httpProvider.defaults.xsrfCookieName = '_csrfToken';
}]);

angular.module('app').config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
  $locationProvider.html5Mode({
      enabled: true,
      requireBase: false
  });
  $routeProvider
    .when('/', {
      templateUrl: 'main.tpl.html',
      controller: 'AppCtrl'
    })<commit_msg>* Move angular xsrf_token_cookie_name to config file<commit_after>angular.module('app', [
  'ngRoute',
  //'projectsinfo',
  //'dashboard',
  //'projects',
  //'admin',
  'signup',
  'login',
  'account',
  'config',
  'services.i18nNotifications',
  'services.httpRequestTracker',
  'services.easyRestResource',
  'security',
  'templates.app',
  'templates.common',
  'ui.bootstrap'
]);


// Node.js Express backend csurf module csrf/xsrf token cookie name
angular.module('app').config(['$httpProvider', 'XSRF_COOKIE_NAME', function($httpProvider, XSRF_COOKIE_NAME){
  $httpProvider.defaults.xsrfCookieName = XSRF_COOKIE_NAME;
}]);

angular.module('app').config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
  $locationProvider.html5Mode({
      enabled: true,
      requireBase: false
  });
  $routeProvider
    .when('/', {
      templateUrl: 'main.tpl.html',
      controller: 'AppCtrl'
    })
{'fraction_non_alphanumeric': 0.17417918753478018, 'fraction_numerical': 0.00333889816360601, 'mean_word_length': 4.4984709480122325, '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': '2842480', 'n_tokens_mistral': 589, 'n_tokens_neox': 600, 'n_words': 100}