title: Angular need to load modules with a preceeding slash
body: <p>When the top javascript files are automatically loading into the view it needs a slash in front of it so it doesn't try to load every JS file from /foo/response.js instead of /response.js.</p>
  
  <p>I have tried adding "baseUrl": "/", however that doesn't build. It only works if I use "./"</p>
  
  <p>Also in index I manually am adding env.js which is why that one has a slash. The rest need slashes in-front.</p>
  
  <p>Finally the reason the page has to load each time is because there are two versions of the website and I'm choosing to load in which template dynamically.</p>
  
  <p><a href="https://i.stack.imgur.com/wouYX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wouYX.png" alt="enter image description here"></a></p>