passed path resource Url angular 2 code example
Example: unsafe value used in a resource URL context
transform(url) {
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
}
transform(url) {
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
}