title: How to add a sub context in Angular 5 app?
body: <p>I have a simple Angular 5 application.
  And it runs on URL <a href="http://localhost:4002" rel="nofollow noreferrer">http://localhost:4002</a></p>
  
  <p>I would like to use an additional sub-context. For example <a href="http://localhost:4002/myapp" rel="nofollow noreferrer">http://localhost:4002/myapp</a></p>
  
  <p>I am not sure where to add this to my local environment.</p>
  
  <p>I tried the below but did not work.</p>
  
  <pre><code>&lt;base href="/myapp"&gt;
  </code></pre>