I am trying to create different html table content based on component field type properties. My concerns is as i am manipulating html table i cannot insert any extra div inside my tbody hence using ng-template to cover this case but i am getting this exception "No provider for NgSwitch Error".
I need ngSwitch & ngSwitchCase not to be on real element of html.
this is the stackblitz url for my scenario
Please suggest what to do here.