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

.factory('getLinkstoBasket', ['$http', function($http) {

  var url = 'http://localhost:3000/ng_basket_links'

  return function(basketID) {

    var promise = $http({
      url: url,
      params: {basketID: basketID},
      method: 'GET'
    }).success(function(response) {

      return response;

    }).error(function(response) {

      return {'status':false};

    })

    return promise;

  }

}])<commit_msg>added factory for getting users inbox<commit_after>angular.module('getLinks', [])

.factory('getLinkstoBasket', ['$http', function($http) {

  var url = 'http://localhost:3000/ng_basket_links'

  return function(basketID) {

    var promise = $http({
      url: url,
      params: {basketID: basketID},
      method: 'GET'
    }).success(function(response) {

      return response;

    }).error(function(response) {

      return {'status':false};

    })

    return promise;

  }

}])

.factory('usersInbox', ['$http', function($http) {

  return function() {
    var url = 'http://localhost:3000/ng_inbox_links'

    var promise = $http({
      url: url,
      method: 'GET'
    }).success(function(response) {

      return response;

    }).error(function(response) {

      return {'status': false};

    })

    return promise
  }

}])
{'fraction_non_alphanumeric': 0.1659021406727829, 'fraction_numerical': 0.009174311926605505, 'mean_word_length': 3.0153374233128836, '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': '4092815', 'n_tokens_mistral': 446, 'n_tokens_neox': 410, 'n_words': 83}