App is Loading

Creating A Pre-Bootstrap Loading Screen With window.postMessage() In Angular 6.1.2