<commit_before>// Declare app level module which depends on filters, and services
angular.module('modulusOne', [
  'ngRoute',
  'ngResource',
  'restangular',
  'modulusOne.filters',
  'modulusOne.services',
  'modulusOne.directives',
  'modulusOne.controllers',
  'modulusOne.createControllers',
  'xeditable',
  'angularFileUpload'
]).
config(['$routeProvider', function($routeProvider) {

  $routeProvider.when('/', {templateUrl: 'partials/listModules.html',
    controller: 'ListModulesCtrl'})

  $routeProvider.when('/show/:id/:slug?', {templateUrl: 'partials/showModule.html',
    controller: 'ShowModuleCtrl'})

  $routeProvider.when('/create', {templateUrl: 'partials/createModule.html'})

  $routeProvider.otherwise({redirectTo: '/'});

}]).
run(function(editableOptions, Restangular) {
  editableOptions.theme = 'bs3'

  Restangular.setBaseUrl(window.MODULUS_API_BASE_URL ||
    'http://localhost:8080/api')

  window.Restangular = Restangular
});<commit_msg>Changed default api basepoint<commit_after>// Declare app level module which depends on filters, and services
angular.module('modulusOne', [
  'ngRoute',
  'ngResource',
  'restangular',
  'modulusOne.filters',
  'modulusOne.services',
  'modulusOne.directives',
  'modulusOne.controllers',
  'modulusOne.createControllers',
  'xeditable',
  'angularFileUpload'
]).
config(['$routeProvider', function($routeProvider) {

  $routeProvider.when('/', {templateUrl: 'partials/listModules.html',
    controller: 'ListModulesCtrl'})

  $routeProvider.when('/show/:id/:slug?', {templateUrl: 'partials/showModule.html',
    controller: 'ShowModuleCtrl'})

  $routeProvider.when('/create', {templateUrl: 'partials/createModule.html'})

  $routeProvider.otherwise({redirectTo: '/'});

}]).
run(function(editableOptions, Restangular) {
  editableOptions.theme = 'bs3'

  Restangular.setBaseUrl(window.MODULUS_API_BASE_URL ||
    '/api')

  window.Restangular = Restangular
});
{'fraction_non_alphanumeric': 0.16244180031039834, 'fraction_numerical': 0.0031039834454216243, 'mean_word_length': 5.809859154929577, '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': '598372', 'n_tokens_mistral': 630, 'n_tokens_neox': 624, 'n_words': 95}