Posts in category projection

Angular 2 Transclusion with ng-content in one go

angular 2 projector thumbnail ng-content

Transclusion was one of the coolest feature of Angular 1. Angular 2 made this (way) more simple and also changed its name to Projection. What we used to configure in our directives with some symbols and ngTransclude is now directly handled into the DOM. Before diving into it, let’s refresh our memory. Here is the most basic Projection example:   We pass some […]