I'm currently working on a one-page app that utilizes angular-css-injector to inject CSS upon each "page" change. However, I'm encountering an issue where the page doesn't look great for a brief moment until the CSS loads completely, at which point everything looks as intended. Is there a way for me to delay showing the page until after the CSS has loaded (while displaying a loader in the meantime)?
After looking into it, I realized that there doesn't seem to be a callback available for when the CSS finishes loading.
Loading the CSS in advance isn't an option for me since certain modules may contain conflicting classes, and I don't have the bandwidth to deal with that headache right now.