I want to write a directive that dynamically adds elements to the DOM of the wrapping component. This is basically working as you can see here in my example: http://plnkr.co/edit/LkNZyP2ckxlYSQa2GetV
But I now I want to use some further logic for the dynamically added elements like "ng-if" to e.g. only show the even numbered items. Is there a better way to append additional DOM elements (or even better a template string) to a component using a directive so that I can use other directives with these added elements? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
