<commit_before>'use strict';

angular.module('riakDashboardApp')
  .factory('Bucket', ['$resource', function($resource) {
    return $resource('http://127.0.0.1:8098/buckets', {}, {
      get: {method: 'JSONP', params: {buckets: true}, headers: {'Content-Type': 'application/json'}}
    });
  }])

  .controller('MainCtrl', ['$scope', 'Bucket', function ($scope, Bucket) {

    var lerolero = Bucket.get();
    console.log(lerolero)

    $scope.awesomeThings = [
      'HTML5 Boilerplate',
      'AngularJS',
      'Karma'
    ];
  }]);<commit_msg>implement mock used api python package<commit_after>'use strict';

angular.module('riakDashboardApp')
  .factory('Bucket', ['$resource', function($resource) {
    return $resource('http://127.0.0.1:8889/buckets', {}, {
      get: {method: 'JSONP', params: {callback: 'JSON_CALLBACK', buckets: true}}
    });
  }])

  .controller('MainCtrl', ['$scope', '$http', 'Bucket', function ($scope, $http, Bucket) {

    var lerolero = Bucket.get();
    console.log(lerolero)

    $scope.awesomeThings = [
      'HTML5 Boilerplate',
      'AngularJS',
      'Karma'
    ];
  }]);
{'fraction_non_alphanumeric': 0.20322291853178157, 'fraction_numerical': 0.019695613249776187, 'mean_word_length': 3.717299578059072, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '644003', 'n_tokens_mistral': 404, 'n_tokens_neox': 382, 'n_words': 70}