angular-css icon indicating copy to clipboard operation
angular-css copied to clipboard

$http.get(...).error

Open amirping opened this issue 8 years ago • 4 comments

i got this error from the angular-css.js the style is correctly loaded image

and i corrected by changing the line 447 from

$http.get(stylesheet.href).error(function (response) {
                if(DEBUG) $log.error('AngularCSS: Incorrect path for ' + stylesheet.href);
            })

to

$http.get(stylesheet.href).then(function (response) {
                if(DEBUG) $log.error('AngularCSS: Incorrect path for ' + stylesheet.href);
            })

amirping avatar Apr 06 '17 19:04 amirping

Even after making your change, the style sheet is still not loaded properly. I think it has to do with preloading the css not working correctly

ProductOfAmerica avatar Apr 11 '17 00:04 ProductOfAmerica

Does https://github.com/castillo-io/angular-css/commit/ac5bae8e8ee1c56c58a770af8486afb99f2180b3 fix this?

danmitchell-nureva avatar Apr 25 '17 21:04 danmitchell-nureva

ac5bae8 fixes it for me.

Is there any plan to publish?

cool-Blue avatar May 07 '17 03:05 cool-Blue

Feel like this project is dead...

ProductOfAmerica avatar May 08 '17 12:05 ProductOfAmerica