<commit_before>angular
  .module('myApp', [
    'ngAnimate',
    'ui.router',
    'templates'
    ])
    .config(function($stateProvider, $urlRouterProvider, $locationProvider) {

    });<commit_msg>Add a home state that references home.html; it looks for it relative to the app/assets/templates/ path; also provide fallback route that catches other paths and directs them to the root<commit_after>angular.module('myApp', [
  'ngAnimate',
  'ui.router',
  'templates'
  ])
  .config(function($stateProvider, $urlRouterProvider, $locationProvider) {
    /**
      * Routes and States
      */
    $stateProvider
      .state('home', {
        url: '/',
        templateUrl: 'home.html',
        controller: 'HomeCtrl'
      });

    // default fall back route
    $urlRouterProvider.otherwise('/');

    // enable HTML5 mode for SEO
    $locationProvider.html5Mode(true);

  });
{'fraction_non_alphanumeric': 0.1345496009122007, 'fraction_numerical': 0.002280501710376283, 'mean_word_length': 3.064814814814815, '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': '4608595', 'n_tokens_mistral': 262, 'n_tokens_neox': 256, 'n_words': 65}