ng-container is mentioned in Angular 2 documentation but there is no explanation how it works and what are use cases.
It is particularly mentioned in ng
Imo use cases for ng-container are simple replacements for which a custom template/component would be overkill. In the API doc they mention the following
use a ng-container to group multiple root nodes
and I guess that's what it is all about: grouping stuff.
Be aware that the ng-container directive falls away instead of a template where its directive wraps the actual content.