Here is another way to avoid duplication. I needed to use a different tag depending on some condition:
Create template which both tags will use:
Hello and Hi
Bye
Define both tags and use ngIf. The content of the tags will be the template created above.