If I load a CSS file via ocLazyLoad, and then remove it from the DOM via the suggested code
$("link[href='css/style.css']").remove();
I cant add it back without forcing a reload from the server (which I would prefer to avoid)
I have a large number of modules, and want to switch CSS files when moving through the app, but I can't currently reload a previously loaded module this way. Would be good if there was a way I could tell the service to re-add the element if its been removed.
If I load a CSS file via ocLazyLoad, and then remove it from the DOM via the suggested code
$("link[href='css/style.css']").remove();
I cant add it back without forcing a reload from the server (which I would prefer to avoid)
I have a large number of modules, and want to switch CSS files when moving through the app, but I can't currently reload a previously loaded module this way. Would be good if there was a way I could tell the service to re-add the element if its been removed.