Ok, so I created a let say directive
<calendar></calendar>
It becomes visualized as I expected, so everything works fine. Now, my question is how to (re) visualize it when entering into the DOM? I donβt want to use it on my page all the time, I just want to dynamically add it and visualize it only when I need it (this is part of the module), say, ideally, I want it to look like
$("body").append("<calendar></calendar>")
How can I achieve this with angularjs?
source share