Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$http.get(...).error #81

Open
amirping opened this issue Apr 6, 2017 · 4 comments
Open

$http.get(...).error #81

amirping opened this issue Apr 6, 2017 · 4 comments

Comments

@amirping
Copy link

amirping commented Apr 6, 2017

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);
            })
@ProductOfAmerica
Copy link

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

@danmitchell-nureva
Copy link

Does ac5bae8 fix this?

@cool-Blue
Copy link

ac5bae8 fixes it for me.

Is there any plan to publish?

@ProductOfAmerica
Copy link

Feel like this project is dead...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants