<commit_before>angular.module('travel.itinerary', [])

.controller('ItineraryController', function ($scope, $window, $rootScope, $state, CurrentInfo, Venues, Groups, Util) {
  // var destination = $window.sessionStorage.getItem('knowhere') || CurrentInfo.destination.name;
  $scope.restaurants = [];
  $scope.attractions = [];
  $scope.hotels = [];
  $scope.city = null;
  $scope.inputData = {};
  $scope.fullItinerary = [];
  $scope.groups = [];
  $scope.heading = null;


  ////////////////// GET ALL THE GROUPS OF A USER //////////////////////


  $scope.getUserGroups = function() {
    var query = {
      userInfo: $rootScope.currentUser
    };
    Groups.getUserGroups(query)
      .then(function(groupsInfo){<commit_msg>(clean up) Remove CurrentInfo from ItineraryController<commit_after>angular.module('travel.itinerary', [])

.controller('ItineraryController', function ($scope, $window, $rootScope, $state, Venues, Groups, Util) {
  $scope.restaurants = [];
  $scope.attractions = [];
  $scope.hotels = [];
  $scope.city = null;
  $scope.inputData = {};
  $scope.fullItinerary = [];
  $scope.groups = [];
  $scope.heading = null;


  ////////////////// GET ALL THE GROUPS OF A USER //////////////////////


  $scope.getUserGroups = function() {
    var query = {
      userInfo: $rootScope.currentUser
    };
    Groups.getUserGroups(query)
      .then(function(groupsInfo){
{'fraction_non_alphanumeric': 0.20794223826714803, 'fraction_numerical': 0.0, 'mean_word_length': 3.0290697674418605, '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': '5379216', 'n_tokens_mistral': 441, 'n_tokens_neox': 423, 'n_words': 79}