<commit_before>/**
 * @ngdoc service
 * @name belajarOauth2ImplicitClientApp.BarangService
 * @description
 * # BarangService
 * Service in the belajarOauth2ImplicitClientApp.
 */

(function() {
  'use strict';
  angular.module('belajarOauth2ImplicitClientApp')
    .service('BarangService', BarangService);

  function BarangService() {
    var barangServiceUrl = this;

    barangServiceUrl.getBarangAll = 'http://localhost:8001/api/barang?access_token=';
    barangServiceUrl.saveBarang = 'http://localhost:8001/api/SaveBarang?access_token=';
    barangServiceUrl.updateBarang = 'http://localhost:8001/api/UpdateBarang?access_token=';
    barangServiceUrl.deleteBarang = function(idBarang) {
      return '/api/DeleteBarang/' + idBarang + '?access_token=';
    };

    return barangServiceUrl;
  }

})();
<commit_msg>Update Url Barang Service<commit_after>/**
 * @ngdoc service
 * @name belajarOauth2ImplicitClientApp.BarangService
 * @description
 * # BarangService
 * Service in the belajarOauth2ImplicitClientApp.
 */

(function() {
  'use strict';
  angular.module('belajarOauth2ImplicitClientApp')
    .service('BarangService', BarangService);

  function BarangService() {
    var barangServiceUrl = this;

    barangServiceUrl.getBarangAll = 'http://localhost:8001/api/Barang?access_token=';
    barangServiceUrl.saveBarang = 'http://localhost:8001/api/SaveBarang?access_token=';
    barangServiceUrl.updateBarang = 'http://localhost:8001/api/UpdateBarang?access_token=';
    barangServiceUrl.deleteBarang = function(idBarang) {
      return 'http://localhost:8001/api/DeleteBarang/' + idBarang + '?access_token=';
    };

    return barangServiceUrl;
  }

})();

{'fraction_non_alphanumeric': 0.1315002988643156, 'fraction_numerical': 0.020322773460848775, 'mean_word_length': 4.9361702127659575, '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': '3637459', 'n_tokens_mistral': 573, 'n_tokens_neox': 552, 'n_words': 75}