I am a beginner in the angular 2.1. I Want to decorate some elements for the automatical translation and I am going to use a directive, it have to look like:
<span customDirectiveTranslation="translateble">{{translateble}}</span>
or just
<span customDirectiveTranslation>{{translateble}}</span>
I can use the Renderer inside directive class (createElement), but by this way I can append only simple elements like span.
how can I render component inside another component by custom directive? Thanx
markupble text
will bemarkupble text