After successfully creating a directive, let's call it
<calendar></calendar>
It displays as intended and functions correctly. However, my current dilemma is how to (re)render it once it has been added to the DOM. Constantly having it on the page isn't necessary - I just want to dynamically include and render it when needed (as part of a module). Ideally, I'd like it to be inserted like this:
$("body").append("<calendar></calendar>")
What would be the best way to achieve this with AngularJS?