/**
 *
 * @Author Rizki Mufrizal <mufrizalrizki@gmail.com>
 * @Since Jan 24, 2016
 * @Time 10:25:26 PM
 * @Encoding UTF-8
 * @Project Belajar-CodeIgniter
 * @Package Expression package is undefined on line 8, column 15 in Templates/Other/javascript.js.
 *
 */

(function() {
  'use strict';

  angular.module('Belajar-CodeIgniter')
    .service('UrlService', UrlService);

  UrlService.$inject = ['$window'];

  function UrlService($window) {
    var baseUrl = '/' + $window.location.pathname.split('/')[1];

    return {
      homeTemplate: function() {
        return baseUrl + '/assets/app/templates/HomeTemplate.html';
      }
    };

  }

})();

@@ -616,16 +616,293 @@
 .html';%0A
+      %7D,%0A      karyawanTemplate: function() %7B%0A        return baseUrl + '/assets/app/templates/KaryawanTemplate.html';%0A      %7D,%0A      getKaryawans: function(page, size) %7B%0A        return baseUrl + '/index.php/api/KaryawanRestController/karyawans?page=' + page + '&size=' + size;%0A
       %7D%0A

update route url