I want to play an animation when browser is loading scripts and other assets of Angular 5.
For example this SVG animation:
Browser rendering page as single-threaded. And some of CSS animated properties could be freeze all animation when heavy js-script is executing.
Here more details about animation rendering.
If you are using SVG, animate it with <animate /> tag
<animate />