title: What's the best practice for saving and reading image in Angular 5?
body: <p>I've Angular 5 app with java rest services, the Java application saved images
  in a folder which is outside the java app.
  Now, the Angular suppose to read these images. Because these images are shared
  by both applications, it make sense to save them outside but it doesn't work or not 
  sure how to do it.</p>
  
  <p>Example of scenario I have:
  The Java app saved images into:</p>
  
  <pre><code>C:\Users\MyName\Documents\workspace\myentitiy
  </code></pre>
  
  <p>The Angular component has the following template:</p>
  
  <pre><code>&lt;img [src]=imagesPath alt=""&gt;
  </code></pre>
  
  <p>The imagesPath declared inside the component:</p>
  
  <pre><code>public imagesPath :any = "../myentitiy/1/myfiles/1/body.png";
  </code></pre>
  
  <p>My assets folder (which not include the images I need again as the requirement):</p>
  
  <pre><code>C:\Users\MyName\Documents\workspace\MyAngularApp\src\assets
  </code></pre>
  
  <p>I've tried to changes imagesPath to different path but couldn't make it to work,
  any idea how Angular can access files outside or I HAVE to change the Java application to save into the Angualr's assets folder?</p>
  
  <p>Thanks.</p>