↧
Answer by developer10 for Append directive to body
Why don't you put your custom directive in the right place within you page's html, and then use transclude to swap that with anything you put in the directive's template?
View ArticleAppend directive to body
I have a popup directive, and I would like to compile and append it to body. Is there a simpler way then recompiling and appending directive to body. link: function (scope, element) {...
View Article
More Pages to Explore .....