Question: when to use ng container?
Answer: We should use <ng-container> when we just want to apply multiple structural directives without introducing any extra element in our DOM. For more information refer to the docs. There's another use case where it is used to inject a template dynamically into a page.