Reactive parenting with Angular 2
summary
Explains the Angular 2 rendering layer by showing working code that implements ngIf from first principles then swaps to the simpler API the examples use Angular 2.3 and demonstrate TemplateRef and createEmbeddedView to stamp content ViewContainerRef to insert and position views and ComponentFactoryResolver plus createComponent to render dynamic components the uploader shows a popover built from a template and a modal service that attaches views to the DOM via ApplicationRef attachView/detachView and the demos compile run and clean up correctly
AI-written summary · about
chapters (9)
- 0:00Introduction and context
- 2:24Framework mental models
- 4:26Elements and directives
- 7:15Implementing ng-if
- 11:44View containers
- 14:12Dynamic component insertion
- 17:48Dynamic content handling
- 21:34Application services
- 26:42Summary and conclusions








