It looks like there is no "replace" option in new AngularJS 1.5 Component concept (like it was for directives).
What would you suggest if I want to have table row <TR> element as component? Is it not possible in terms of valid HTML?
Real example: mailBox component has mail components inside. By markup mail-box-component is table, and mail-box is tr.
<mail-box>
<mail ng-repeat="mail in $ctrl.mails" mail="mail"></mail>
<mail-box>
UPD: related discussion about directives - Why is replace deprecated in AngularJS?
maildo exactly? Most likely mailbox has to absorb its functionality and the whole template.tr. Problem solved. A list of mails is not tabular data, so usingtableis semantically wrong anyway.