Hi Tony Couple of observations. Firstly why wouldn't you just use ng-repeat, it appears to do what you want (repeat a section of angular markup for each element of a list of items). Secondly, if you want to replicate the ng-repeat directive, you will likely need to use the compile function, not just the link function as you have attempted.
Michael On Thursday, May 22, 2014 5:06:19 AM UTC+10, tonypee wrote: > > using templateUrl i can add the content of my directive, but if i wanted > (hypothetically) to use transclude to add the markup, what am i doing wrong > here? > > http://plnkr.co/edit/0YqW4av9Vyou8wV4YxN7?p=preview > > > > -- > Tony Polinelli > > -- 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.
