Ng-container does not work with ng-repeat inside a table this is my code. <tbody> <tr> <ng-container style="border-bottom: 5px solid black" ng-repeat="ca in cas"> <td ng-click="test(ca)">works {{ca.property}}</td> </ng-container> </tr> </tbody> This code will not work. But if i switch ng-container to a element this code will work fine with no changes. The problem is ca is undefined inside ng-container but works inside a td element. Continue reading...