<commit_before>angular.module("foodApp", ['FileUpload','ngRoute','foodServices','Map', 'Trending', 'Display'])
.config(['$routeProvider', function($routeProvider) {
  $routeProvider
  .when('/display', {
    templateUrl: 'views/display.html',
    controller: 'DisplayCtrl',
    activeNav: 'display'
  })
  .when('/trending', {
    templateUrl: 'views/trending.html',
    controller: 'TrendingCtrl',
    activeNav: 'trending'
  })
  .when('/upload', {
    templateUrl: 'views/upload.html',
    controller: 'UploadCtrl',
    activeNav: 'upload'
  })
  .otherwise({
    redirectTo: '/trending.html'
  });
}])
.controller('DefaultCtrl',['$scope', '$location', function($scope, $location) {
  $scope.isActive = function(route) {
    return route === $location.path();
  }
}]);<commit_msg>Fixed the load of trending<commit_after>angular.module("foodApp", ['FileUpload','ngRoute','foodServices','Map', 'Trending', 'Display'])
.config(['$routeProvider', function($routeProvider) {
  $routeProvider
  .when('/display', {
    templateUrl: 'views/display.html',
    controller: 'DisplayCtrl',
    activeNav: 'display'
  })
  .when('/trending', {
    templateUrl: 'views/trending.html',
    controller: 'TrendingCtrl',
    activeNav: 'trending'
  })
  .when('/upload', {
    templateUrl: 'views/upload.html',
    controller: 'UploadCtrl',
    activeNav: 'upload'
  })
  .otherwise({
    redirectTo: '/trending'
  });
}])
.controller('DefaultCtrl',['$scope', '$location', function($scope, $location) {
  $scope.isActive = function(route) {
    return route === $location.path();
  }
}]);
{'fraction_non_alphanumeric': 0.2013977128335451, 'fraction_numerical': 0.0, 'mean_word_length': 4.545774647887324, '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': '55718', 'n_tokens_mistral': 512, 'n_tokens_neox': 509, 'n_words': 84}