I need one help.I need to set js/css path name dynamically uaing Angular.js/Javascript/Jquery.I am explaining my code below.
<script src="/crm/controller/productController.js" type="text/javascript"></script>
Suppose i have the above script tag.Here my path is
/crm/controller/productController.js
.I need to set /crm/
in my config file and i will set this path name in every script tag.In php it is happening like below.
define("USER_SITE_URL", "http://www.absclasses.com/");
<script type="text/javascript" src="<?php echo SITE_URL;?>js/jquery-1.9.1.min.js"></script>
As i am not using PHP. How it can me made using Angular.js or Javascript/Jquery.