<commit_before>'use strict';

/**
 * @ngdoc overview
 * @name happybotsApp
 * @description
 * # happybotsApp
 *
 * Main module of the application.
 */
angular
  .module('happybotsApp', [
    'ngAnimate',
    'ngRoute',
    'ngSanitize',
    'ngTouch'
  ])
  .config(function ($routeProvider) {
    $routeProvider
      .when('/', {
        templateUrl: 'views/main.html',
        controller: 'MainCtrl',
        controllerAs: 'main'
      })
      .when('/about', {
        templateUrl: 'views/about.html',
        controller: 'AboutCtrl',
        controllerAs: 'about'
      })
      .otherwise({
        redirectTo: '/'
      });
  });<commit_msg>routes defined<commit_after>


'use strict';

/**
 * @ngdoc overview
 * @name happybotsApp
 * @description
 * # happybotsApp
 *
 * Main module of the application.
 */
angular
  .module('happybotsApp', [
    'ngAnimate',
    'ngRoute',
    'ngSanitize',
    'ngTouch'
  ])
  .config(function ($routeProvider) {
    $routeProvider
      .when('/bot/wip', {
        templateUrl: 'views/wip.html',
        controller: 'WipCtrl',
        controllerAs: 'wip'
      })
      .when('/bot/:name', {
        templateUrl: 'views/bot.html',
        controller: 'BotCtrl',
        controllerAs: 'bot'
      })
      .when('/contact', {
        templateUrl: 'views/contact.html',
        controller: 'ContactCtrl',
        controllerAs: 'contact'
      })
      .when('/about', {
        templateUrl: 'views/about.html',
        controller: 'AboutCtrl',
        controllerAs: 'about'
      })
      .otherwise({
        redirectTo: '/about'
      });
  });
{'fraction_non_alphanumeric': 0.16153362664990573, 'fraction_numerical': 0.0, 'mean_word_length': 2.165009940357853, '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': '2925364', 'n_tokens_mistral': 506, 'n_tokens_neox': 504, 'n_words': 93}