Chapter 3: Introducing CSS Custom Properties and New Provider Scopes
In Part 2, Build a Real-World Application with the Angular Ivy Features You Learned, we are going to implement features for an existing application. To prepare for this challenge, we are going to discuss some of the most interesting features introduced by Angular Ivy.
CSS Custom Properties are browser-native CSS variables that can be changed at runtime. In this chapter, we will use simple examples to uncover their scoped nature when applied to the Document Object Model (DOM). We will combine them with the power of Angular to show off some neat inspirational tricks.
Dependency injection is a powerful feature at the very core of the Angular framework. As Angular developers, we have come to appreciate the root
provider shorthand, which declares an application-wide singleton dependency that is shared throughout an Angular application.
Angular Ivy introduces two more provider shorthands that declare the any
and...