Yes, this is expected.
Angular applies it to inline scripts as well, as part of its effort to ensure that both inline scripts and styles are handled consistently when enforcing a CSP.
This behavior ensures that Angular works in environments where a CSP is enabled, and it prevents inline scripts and styles from being blocked