You can create a custom html-tag using angular then import that component in your module that wants to use those custom-tags. Then you'll be allowed to use the same tag in your html page. Created a small example that can maybe help you understand ?
I might be late to the party.
There are some answers though, but I couldn't achieve it with what is described in above answers I still felt that someone might need a bit of direction.
Key points that are not defined in any of the answers clearly.
Consider you have a template which is binding some values in it. So you have to attach
a context object in order make template binding work.
You have to define template first and then use it anywhere you want to. Just think of
a function declaration. But until unless you don't call function it wont have any affect.