title: Display a Loading icon while images loads
body: <p>I want to show a background image/loading spinner inside a <code>div</code> that will load an image inside of it, the image will show once it's fully loaded doing something like this:</p>
  
  <pre><code>   &lt;div style="background-image:url('imageThatWillAppearBeforeLoad')"&gt;&lt;/div&gt;
  </code></pre>
  
  <p><a href="http://smallenvelop.com/demo/image-loading/" rel="noreferrer">Demo (In jQuery)</a></p>
  
  <p>How can I have the same using Angular2/Ionic2?</p>