<commit_before>(function (window, angular) {
  "use strict";
  var app = angular.module('contactsApp', ['ui.router', 'contactsApp.controllers',
                                          'contactsApp.directives', 'contactsApp.filters'])
    .config(function ($stateProvider) {
      $stateProvider
        .state('home', {
                url: '/',
                abstract: true,
                templateUrl: 'views/home.html',
                controller: 'HomeCtrl'
            })
        .state('detail', {
                url: 'detail/:id',
                parent: 'home',
                templateUrl: 'views/details.html',
                controller: 'DetailCtrl'
            })
        .state('edit', {
                url: 'edit/:id',
                parent: 'home',
                templateUrl: 'views/edit.html',
                controller: 'EditCtrl'
            })
        .state('create', {
              url: 'create',
              parent: 'home',
              templateUrl: 'views/edit.html',
              controller: 'EditCtrl'
            })
        .state('welcome', {<commit_msg>Delete X-Requested-With header<commit_after>(function (window, angular) {
  "use strict";
  var app = angular.module('contactsApp', ['ui.router', 'contactsApp.controllers',
                                          'contactsApp.directives', 'contactsApp.filters'])
    .config(['$httpProvider', function($httpProvider) {
        delete $httpProvider.defaults.headers.common["X-Requested-With"]
    }])
    .config(function ($stateProvider) {
      $stateProvider
        .state('home', {
                url: '/',
                abstract: true,
                templateUrl: 'views/home.html',
                controller: 'HomeCtrl'
            })
        .state('detail', {
                url: 'detail/:id',
                parent: 'home',
                templateUrl: 'views/details.html',
                controller: 'DetailCtrl'
            })
        .state('edit', {
                url: 'edit/:id',
                parent: 'home',
                templateUrl: 'views/edit.html',
                controller: 'EditCtrl'
            })
        .state('create', {
              url: 'create',
              parent: 'home',
              templateUrl: 'views/edit.html',
              controller: 'EditCtrl'
            })
        .state('welcome', {
{'fraction_non_alphanumeric': 0.13957446808510637, 'fraction_numerical': 0.0, 'mean_word_length': 1.381965552178318, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2920167', 'n_tokens_mistral': 611, 'n_tokens_neox': 590, 'n_words': 108}