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?