title: Angular 4 image async with bearer headers
body: <p>My task is to make async image requests with auth headers. I have image paths like this:</p>
  
  <pre><code>&lt;img src="{{file.src}}"/&gt;
  </code></pre>
  
  <p>And I need to Add Bearer Token to header for such requests. Page contains many images, so ajax requests are don't fit. 
  Have no idea how to do this.</p>