AngularJS ng-src in ie8: image not loaded and “unsafe” added to path
问题 I just wanted to add an image to my app. As advised, I used the ng-src directive: <img ng-src="{{app.imgBig}}" alt="lorem ipsum" height="100" width="200" title="lorem ipsum" /> It works fine on most browsers but it doesn't on IE8. The image is not loaded as instead of adding the absolute url to the file name, it returns the relative path and adds " unsafe: " before it. Actually, it's trying to load: unsafe:img/test.jpg Instead of: http://url_of_my_site.com/img/test.jpg So you know, it may be