SUPER awesome! thanks for the super trick!

By the way, how do you load the aCssSpineer style super fast too? I have a 
huge minified css file and it has to wait for that file to be loaded so i 
could use the aCssSpinner. The rendered text (which i styled too) and the 
aCssSpinner still took half of the loading time to show up.

Thanks in advance!

On Monday, February 16, 2015 at 5:45:08 PM UTC+7, Sander Elias wrote:
>
> Hi Tomw,
>
> You can use the defer attribute on your script tags. But then again, your 
> app is not showing anything to the user, until angular kicks in (and is 
> largely done). You should show something to the user, even if everything 
> else on your page fails to load.
> adding this right below the body tag will help with your pagespeed:
>
> <div ng-if="false">
>    <h1>Loading the application, please hold on</h1>
>    <div class='aCssSpinner'</div>
> </div>
>
> There are some more things that can be done, but this should put you on 
> the right track.
> Regards
> Sander
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to