Template:
<iframe  width="100%" height="100%"  [src]="url"></iframe>
Component :
I have already transform the url to a safeUrl:
ngOnInit() {
  this.url = this.sanitizer.bypassSecurityTrustResourceUrl('https://www.google.com/');
}
But the page still doesn't show anything,refer to inspect: empty content of the src link
Does anybody know why?
 
    