<commit_before>module.exports = function(app) {
  app.run(['$rootScope', '$cookies', '$window', '$http',
    function($scope, $cookies, $window, $http) {
      $scope.loggedIn = function() {
        var eat = $cookies.get('eat');
        return (eat && eat.length);
      };

      $scope.logOut = function() {
        console.log('remove cookie');
        $cookies.remove('eat');
        $window.location.assign('/index.html');
      };
    }
  ]);
};<commit_msg>Signing out goes to / instead of index.html.<commit_after>module.exports = function(app) {
  app.run(['$rootScope', '$cookies', '$window', '$http',
    function($scope, $cookies, $window, $http) {
      $scope.loggedIn = function() {
        var eat = $cookies.get('eat');
        return (eat && eat.length);
      };

      $scope.logOut = function() {
        console.log('remove cookie');
        $cookies.remove('eat');
        $window.location.assign('/');
      };
    }
  ]);
};
{'fraction_non_alphanumeric': 0.20442571127502634, 'fraction_numerical': 0.0, 'mean_word_length': 2.6259541984732824, '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': '5354318', 'n_tokens_mistral': 308, 'n_tokens_neox': 299, 'n_words': 54}