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

Landing page

Testing Workshop Angular testing doesn’t need to suck. Learn the best ways to do Angular testing from my experience doing Angular testing for the biggest

Read More »

about new

ABOUT us​ Christian Lüdemann Christian Lüdemann is a software consultant and entrepreneur from Aarhus, Denmark who helps people creating better Angular apps through consulting and

Read More »