<commit_before>'use strict';

/**
 * @ngdoc service
 * @name timelinerApp.projects
 * @description
 * # projects
 * Factory in the timelinerApp.
 */
angular.module('timelinerApp')
  .factory('ProjectsService', function ($resource, appConfig) {

    var apiLocation = appConfig.backendApiUrl + '/projects';

    var projectsResource =  $resource(apiLocation, {}, {
      mine: {
        url: apiLocation,
        method: 'GET'
      },<commit_msg>References learning-layers/timeliner#17, using /mine endpoint.<commit_after>'use strict';

/**
 * @ngdoc service
 * @name timelinerApp.projects
 * @description
 * # projects
 * Factory in the timelinerApp.
 */
angular.module('timelinerApp')
  .factory('ProjectsService', function ($resource, appConfig) {

    var apiLocation = appConfig.backendApiUrl + '/projects';

    var projectsResource =  $resource(apiLocation, {}, {
      mine: {
        url: apiLocation + '/mine',
        method: 'GET'
      },
{'fraction_non_alphanumeric': 0.138801261829653, 'fraction_numerical': 0.002103049421661409, 'mean_word_length': 3.490566037735849, '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': '6696716', 'n_tokens_mistral': 284, 'n_tokens_neox': 277, 'n_words': 63}