1

When I use ng-src the Google Chrome Alert:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

Is it a problem?

Is there a solution?

Is there any way to make the ng-src asynchronous?

Sorry if duplicated. Thanks.

Sa E Chowdary
  • 2,075
  • 15
  • 31
Wellington1993
  • 340
  • 1
  • 3
  • 17
  • are you fetching ng-src value from any api or service from db or backend?? – Sa E Chowdary Dec 15 '16 at 12:53
  • @SaEChowdary ng-src get image from Controller and controller return external google maps static maps api image url. – Wellington1993 Dec 15 '16 at 13:08
  • have a look at [this answer](http://stackoverflow.com/a/42128191/3092596) - I had the same problem in AngularJS and it turned out to be a template name was wrong (due to a lowercase to camelCase mismatch on a case-sensitive server). – goredwards Feb 10 '17 at 07:11

0 Answers0