<commit_before>/**
 * Created by <NAME> on May 22, 2016.
 *
 * Defines the routing behavior for the web application.
 */

(function() {
  'use strict';

  angular
    .module('nobe', ['ngRoute'])  // Set up app dependencies
    .config(function($routeProvider) {
      // Define Routes
      $routeProvider
        .when('/', {
          templateUrl: 'views/home.html',
          controller: 'HomeCtrl'
        })
        .when('/about', {
          templateUrl: 'views/about.html',
          controller: 'AboutCtrl'
        })
        .when('/404', {
          templateUrl: '404.html',
        })
        .otherwise({
          redirectTo: '/404'
        });
    })
    .run(['$rootScope', function($rootScope) {
      let wow = new WOW({live : true}).init();

      $rootScope.$on('$viewContentLoaded', function() {
        wow.start();
      });
    }]);
})();
<commit_msg>Fix all bugs with WOW<commit_after>/**
 * Created by <NAME> on May 22, 2016.
 *
 * Defines the routing behavior for the web application.
 */

(function() {
  'use strict';

  angular
    .module('nobe', ['ngRoute'])  // Set up app dependencies
    .config(function($routeProvider) {
      // Define Routes
      $routeProvider
        .when('/', {
          templateUrl: 'views/home.html',
          controller: 'HomeCtrl'
        })
        .when('/about', {
          templateUrl: 'views/about.html',
          controller: 'AboutCtrl'
        })
        .when('/404', {
          templateUrl: '404.html',
        })
        .when('', {
          redirectTo: '/404'
        })
        .otherwise({
          redirectTo: '/404'
        });
    })
    .run(['$rootScope', function($rootScope) {
      let wow = new WOW({live : true});
      wow.init();
    }]);
})();

{'fraction_non_alphanumeric': 0.1738382099827883, 'fraction_numerical': 0.0189328743545611, 'mean_word_length': 1.826580226904376, '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': '2835643', 'n_tokens_mistral': 557, 'n_tokens_neox': 517, 'n_words': 117}