Angular2 : render a component without its wrapping tag

You can use attribute selectors

@Component({
  selector: '[myTd]'
  ...
})

and then use it like

<td myTd></td>

Leave a Comment