Joined May 2014
·
Posted to
Variable templates for an AngularJS directive
over 1 year
ago
Using element for accessing the DOM e.g element.find(".child-class") does not work because of the element.replaceWith(). Any cleaner solution?
Using element for accessing the DOM e.g element.find(".child-class") does not work because of the element.replaceWith(). Any cleaner solution?
Nevermind. We can do something like this: