ANGULAR – Unsafe values used in a resource URL Context

By Sigar Dave 2 comments

Ok, when you get this error you are probably trying to use url variable in you template. The most elegant way to fix this is use pipe to bypass security. In this example we will pass URL variable into iframe src. First of all we will create our pipe. We are injecting the DomSanitizer service, […]