Check profile picture ussing angularjs


#1

I’m trying to connect with the angularjs method $http to check if the profile image of the user I have in my database have changed or not, in order to show a default image or not, but I’m getting the error “No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.mydomain.com:8080’ is therefore not allowed access.” what is the best way to do that?


#2

#3