</head>
<body ng-app="ecompApp">
-<base href="" id="baseHref">
<script>
if (!String.prototype.includes) {
String.prototype.includes = function(search, start) {
var base = window.location.pathname.substring(0, window.location.pathname.indexOf("/",2)+1);
- document.getElementById('baseHref').href = base;
+ document.write("<base href='" + base + "' />");