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 was archived by the owner on Feb 8, 2023. It is now read-only.
Don't depends on jQuery anymore. Compatibility IE >= 8.
angular.element do not support the selectors so I use :
angular.element(document.querySelector('head'))
To make the code IE7 compatible, use angular.element('head') but you will need to include jQuery in your page.
angular.element('head').append($compile("<link data-ng-repeat='stylesheet in href_array_dynamicStylesheets' data-ng-href='{{stylesheet.href}}' rel='stylesheet' />")(scope));// Found here : http://stackoverflow.com/a/11913182/1662766
39
+
angular.element(document.querySelector('head')).append($compile("<link data-ng-repeat='stylesheet in href_array_dynamicStylesheets' data-ng-href='{{stylesheet.href}}' rel='stylesheet' />")(scope));// Found here : http://stackoverflow.com/a/11913182/1662766
0 commit comments