/**
 * @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;
  }

})();

@@ -413,17 +413,17 @@
 001/api/
-b
+B
 arang?ac
@@ -687,16 +687,37 @@
 return '
+http://localhost:8001
 /api/Del

Update Url Barang Service