safe-resource pipe angular 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);
}