Due to the base compile method call when rendering the component, the following test Content Security Policy policy "script-src self" issue will happen. So this needs to be fixed.
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/249144/ze/Sample1123298355
1. To replicate this issue, please do `ng serve --prod`,
with the prod flag on, multiple optimisations will be performed and a lot of
issues will start to pop up.
2. Second, please install mod-header: install from this link, so that you can inject the REQUIRED response header to
replicate this issue. These response headers will trigger some security check
and from the console you will start seeing the error. See the sample header
that we add to replicate this issue: