This chapter throws together introductions to several more advanced Angular topics.
View Encapsulation
Remember how you can apply styles to a component using the styles or styleUrls properties of the @Component annotation? The meaning of the word encapsulation is “the action of enclosing something in or as if in a capsule.”
Angular view encapsulation has to do with which method Angular uses to enclose these styles (the ones you applied the styles or styleUrls properties to) with the component.
Why is view encapsulation required? When you use the styles or styleUrls properties to style a component, ...