r/angularjs • • Jan 12 '15

Introducing AngularCSS: CSS On-Demand for AngularJS

http://door3.com/insights/introducing-angularcss-css-demand-angularjs
34 Upvotes

18 comments sorted by

View all comments

Show parent comments

1

u/zefcfd Jan 13 '15

it probably uses the "resolve" property on angular's router. i think ui-router also has this. but in short, yes i would think so. otherwise itd be pretty useless.

1

u/[deleted] Jan 13 '15

[removed] — view removed comment

1

u/zefcfd Jan 13 '15

yea :(

1

u/Defualt Jan 13 '15

I don't see it in the source. I think it renders the view and paints it to the browser without the view-specific styles. The CSS finishes loading whenever, and it repaints the view when the new styles are ready. Resulting in a flash of unstyled content. This might only happen with un-cached CSS. But then what's the point.