Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Understand How to Style Angular Components

Understand How to Style Angular Components

Autoplay

    Use Angular style sanitization to mark dynamic styles as trusted values

    Juri StrumpflohnerJuri Strumpflohner
    3:33

    Angular has a very robust security model. Dynamically inserted html, style or url values into the DOM open up possibilities for attackers to compromise your site. Thus Angular treats all values as untrusted by default. In this lesson we learn how to “sanitize” values where we are sure they are trustful.

    You must be a Member to view code