<commit_before>angular.module("myApp", ['ui.router'])
  .config([
    '$stateProvider',
    '$urlRouterProvider',
    function($stateProvider, $urlRouterProvider) {
      $stateProvider
        .state('index', {
          url: '/index',
          templateUrl: '/index.html',
          controller: 'myCtrl'
        });
      $stateProvider
        .state('approve', {
          url: '/approve?client_id&client_name&reqid',
          templateUrl: '/approve.html',
          controller: 'approveCtrl'
        });
      $stateProvider
        .state('error', {
          url: '/error?error_message',
          templateUrl: '/error.html',
          controller: 'errorCtrl'
        });
      $urlRouterProvider.otherwise('index');
  }])

  .controller("myCtrl", function($scope) {
  })

  .controller("approveCtrl", function($scope,$stateParams) {
    $scope.client_id = $stateParams.client_id;
    $scope.client_name = $stateParams.client_name;
    $scope.reqid = $stateParams.reqid;
  })

  .controller("errorCtrl", function($scope,entriesFactory,$stateParams) {
     $scope.error_message = $stateParams.error_message;
  });<commit_msg>remove erroneous injection<commit_after>angular.module("myApp", ['ui.router'])
  .config([
    '$stateProvider',
    '$urlRouterProvider',
    function($stateProvider, $urlRouterProvider) {
      $stateProvider
        .state('index', {
          url: '/index',
          templateUrl: '/index.html',
          controller: 'myCtrl'
        });
      $stateProvider
        .state('approve', {
          url: '/approve?client_id&client_name&reqid',
          templateUrl: '/approve.html',
          controller: 'approveCtrl'
        });
      $stateProvider
        .state('error', {
          url: '/error?error_message',
          templateUrl: '/error.html',
          controller: 'errorCtrl'
        });
      $urlRouterProvider.otherwise('index');
  }])

  .controller("myCtrl", function($scope) {
  })

  .controller("approveCtrl", function($scope,$stateParams) {
    $scope.client_id = $stateParams.client_id;
    $scope.client_name = $stateParams.client_name;
    $scope.reqid = $stateParams.reqid;
  })

  .controller("errorCtrl", function($scope,$stateParams) {
     $scope.error_message = $stateParams.error_message;
  });
{'fraction_non_alphanumeric': 0.15870910698496907, 'fraction_numerical': 0.0, 'mean_word_length': 2.7529021558872304, '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': '5029418', 'n_tokens_mistral': 674, 'n_tokens_neox': 663, 'n_words': 94}