<commit_before>// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array or 'requires'
// 'starter.services' is found in services.js
// 'starter.controllers' is found in controllers.js
angular.module('guahao', ['ngAnimate', 'ui.router', 'guahao.services', 'guahao.controllers'])

.run(function($rootScope) {
  console.log("AA app running...");

})

.config(function($stateProvider, $urlRouterProvider) {
  $stateProvider
    .state('home', {
      url: '/home',
      templateUrl: 'home/home.html'
    })
    .state('home', {
      url: '/home',
      templateUrl: 'home/list.html'
    })
    .state('user', {
      url: '/user',
      templateUrl: 'secure/user/home.html',
      controller: 'UserCtrl'
    })
    .state('user.message', {
      url: '/user',
      templateUrl: 'secure/user/message.html',
      controller: 'UserCtrl'
    })

  $urlRouterProvider.otherwise("/home");
})

.config(function ($compileProvider){
  // Needed for routing to work<commit_msg>init commit<commit_after>// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array or 'requires'
// 'starter.services' is found in services.js
// 'starter.controllers' is found in controllers.js
angular.module('guahao', ['ngAnimate', 'ui.router', 'guahao.services', 'guahao.controllers'])

.run(function($rootScope) {
  console.log("AA app running...");

})

.config(function($stateProvider, $urlRouterProvider) {
  $stateProvider
    .state('home', {
      url: '/home',
      templateUrl: 'home/home.html'
    })
    .state('home.list', {
      url: '/home',
      templateUrl: 'home/list.html'
    })
    .state('user', {
      url: '/user',
      templateUrl: 'secure/user/home.html',
      controller: 'UserCtrl'
    })
    .state('user.message', {
      url: '/user',
      templateUrl: 'secure/user/message.html',
      controller: 'UserCtrl'
    })

  $urlRouterProvider.otherwise("/home");
})

.config(function ($compileProvider){
  // Needed for routing to work
{'fraction_non_alphanumeric': 0.15914072775098642, 'fraction_numerical': 0.0008768084173608067, 'mean_word_length': 3.3137996219281662, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '226904', 'n_tokens_mistral': 718, 'n_tokens_neox': 693, 'n_words': 184}