• Overview
@angular/core

CSP_NONCE

constant

Token used to configure the Content Security Policy nonce that Angular will apply when inserting inline styles. If not provided, Angular will look up its value from the ngCspNonce attribute of the application root node.

  
    const CSP_NONCE: InjectionToken<string | null>;
  
  
Jump to details