Closed lexi89 closed 8 years ago
Thanks @lexi89! We're aware of the issue and should have a fix coming soon.
In the meantime, you can add the following to your JSBins just after the angular.module()
declaration to get the images loading properly:
// NOTE: The following config is required because we're loading this within JSBin
.config(function($sceDelegateProvider) {
$sceDelegateProvider.resourceUrlWhitelist([
// Allow same origin resource loads.
'self',
// Allow loading from our assets domain. Notice the difference between * and **.
'https://rawgit.com/angular/material-start/es5-tutorial/app/assets/svg/**'
])
})
Fixed. Many thanks to @ThomasBurleson for updating all of the JSBins with the appropriate code!
I still get this error for angular material version 1.1.4 - is it really fixed?
Looks like JSbin won't load images.
Screenshot:
To recreate: Open any of the JSbins with SVG images and open console
Sample error message: