You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
Hi, (I open an issue to my own repository, because I don't have enough time this days to fix it by myself).
With angular-css-injector, set setSinglePageMode(TRUE) remove the CSS files added dynamically every time the view change.
With angular 1.0.8 I didn't find the way to remove the CSS files between the moment the view be loaded and the view be display.
I only find the way to remove the CSS files before the new view be loaded (event $locationChangeStart) and it's so early.
The second possibility is remove the CSS files after the new view be loaded and displayed (event $locationChangeSuccess) but in this case it's so late and I remove also the CSS files belong to the new view.
Does anyone know how to improve this behavior ? Maybe with the event $routeUpdate but in this case the reloadOnSearch property has been set to false (I don't know what does it mean, there is a little explanation here http://stackoverflow.com/a/14765954/2547632).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, (I open an issue to my own repository, because I don't have enough time this days to fix it by myself).
With angular-css-injector, set setSinglePageMode(TRUE) remove the CSS files added dynamically every time the view change.
With angular 1.0.8 I didn't find the way to remove the CSS files between the moment the view be loaded and the view be display.
I only find the way to remove the CSS files before the new view be loaded (event $locationChangeStart) and it's so early.
The second possibility is remove the CSS files after the new view be loaded and displayed (event $locationChangeSuccess) but in this case it's so late and I remove also the CSS files belong to the new view.
Does anyone know how to improve this behavior ? Maybe with the event $routeUpdate but in this case the reloadOnSearch property has been set to false (I don't know what does it mean, there is a little explanation here http://stackoverflow.com/a/14765954/2547632).
The text was updated successfully, but these errors were encountered: