ng-container、ng-template之解决*ngFor与*ngIf同一标签内报错问题
项目中的特殊场景,需要同时使用ngFor和ngIf,如果同时放在一个标签内会报如下错误:ERROR Error: Uncaught (in promise): Error: Template parse errors:Can't have multiple template bindings on one element. Use only one attribute prefixed wi...