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.

Related Posts and Comments

Angular In The Industry

Learn how to writeindustry-level Angular Apps In this book, you will learn how professional teams want you to architect Angular apps. My experience from 10

Read More »