Working with Angular can pose the challenge of needing to employ advanced framework features that are only briefly mentioned in their documentation.
Building a tree component is an example of one of these challenges as it requires the following features:
- Content projection (ng-content)
- Dynamic templates (ng-template, ngTemplateOutlet)
- Query content (@ContentChild)
- Structural directives
In article featured on InDepth Dev, full-stack developer Jérémy Bardon walks through each feature needed to build a tree component using the same Angular Material API. Read it here.