Zenab Saleem
/zenabSaleemKhan
/zenabKhan
It enables developers to build reusable components.
`ng-content` directive in Angular
In AngularJS 1.x, it is implemented with the infamous transclusion
Its ability to change the content inside a component based on the needs of the application.
Reusability is very important when you're programming, and anything we can do to reduce duplication of code is going to help us out.
Content projection is an important concept when developing user interfaces. It allows us to project pieces of content into different places of the user interface of our application
Use <ng-content></ng-content> directive inside the component to project your content