title: Electron / Angular project Onload show image as splash
body: <p>I have an Angular / Electron application.</p>
  <p>What the application loads I need to show an image as a splash screen which then disappears when it finishes loading.</p>
  <p>In my index.html I have:</p>
  <pre><code>&lt;app-root&gt;Loading ...&lt;/app-root&gt;
  </code></pre>
  <p>But I never see it ... I need an image where the Loading... is and for it to stay for a few seconds and then disappear.</p>
  <p>For example:</p>
  <pre><code>&lt;app-root&gt;&lt;div id=&quot;splash&quot;&gt;&lt;img src=&quot;assets/splash.png&quot; /&gt;&lt;/div&gt;&lt;/app-root&gt;
  </code></pre>
  <p>I have been searching on google but cannot find anything, that's why I don't have any code to show.</p>
  <p>How can I do this?</p>