How To Add Dynamic Global Styling To An Angular App

Share on facebook
Share on google
Share on twitter
Share on linkedin

In this video, I will show you how to add dynamic custom styling to an Angular app. This is something I eg. use for the course portal of Angular Architect Accelerator.

The style is added as:

Notice how the use of sanitizer.sanitize sanitizes the styling before the style tag is generated, preventing XSS attacks.

Do you want to become an Angular architect? Check out Angular Architect Accelerator.

Hi there!

I’m Christian, a freelance software developer helping people with Angular development. If you like my posts, make sure to follow me on Twitter.

Related Posts and Comments