How can I dynamically add a directive in AngularJS?
I have a very boiled down version of what I am doing that gets the problem across. I have a simple directive. Whenever you click an element, it adds another one. However, it needs to be compiled first in order to render it correctly. My research led me to $compile. But all the examples use … Read more