title: base href in angular: change base-href in runtime?
body: <p>I have 1 angular application with a base-href set to <code>/a/b/</code>.
  So, in my <code>dist</code> folder, there is a html file with <code>&lt;base href="/a/b/"&gt;</code>.
  This way, the browser can resolve that a image link to <code>assets/images/logo.png</code> is in fact located on <code>domain.com/a/b/assets/images/logo.png</code>.</p>
  
  <p>So my application runs on <code>domain.com/a/b/index.html</code>. </p>
  
  <p>Problem:</p>
  
  <p>Now I would also like to run the same application on <code>domain.com/a/b/c/index.html</code>. So besides the previous.
  Also here <code>assets/images/logo.png</code> is located on <code>domain.com/a/b/c/assets/images/logo.png</code>. (watch the /c/ there).</p>
  
  <p>I can get this to work, although, I really would like to build my application <em>once</em> and publish it <em>once</em>. And then deploy it twice (<code>/a/b/</code> and <code>/a/b/c/</code>).</p>
  
  <p>So in fact my question is, can I configure this base-href after deploying it in the given folders on my apache server? Is there a run-time option? Can it infer it's base-path from the directory the files are in? 
  Or, is there a command to change the value in index.html?</p>