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.
-"use strict";angular.module("angular.css.injector",[]).provider("cssInjector",["$interpolateProvider",function(f){function m(b,d){var g=angular.element(document.getElementsByTagName("head")[0]),a;d.$on("$locationChangeStart",function(){!0===h&&k()});var e=function(){if(void 0===a&&void 0===(a=g.scope()))throw"angular.css.injector error : Please initialize your app in the HTML tag and be sure your page has a HEAD tag.";},k=function(){e();void 0!==a.injectedStylesheets&&(a.injectedStylesheets=[])};return{add:function(l){e();
if(void 0===a.injectedStylesheets)a.injectedStylesheets=[],g.append(b("<link data-ng-repeat='stylesheet in injectedStylesheets' data-ng-href='"+f.startSymbol()+"stylesheet.href"+f.endSymbol()+"' rel='stylesheet' />")(a));else for(var c in a.injectedStylesheets)if(a.injectedStylesheets[c].href==l)return;a.injectedStylesheets.push({href:l})},remove:function(b){e();if(a.injectedStylesheets)for(var c=0;c<a.injectedStylesheets.length;c++)if(a.injectedStylesheets[c].href===b){a.injectedStylesheets.splice(c,
1);break}},removeAll:k}}var h=!1;this.$get=["$compile","$rootScope",function(b,d){return new m(b,d)}];this.setSinglePageMode=function(b){h=b;return this}}]);