Hey gang,

I'm using 1.2.6 and currently playing with using ngTransclude inside of an 
ngRepeat for making a fancy collection view.  I noticed that I get the 
error:

Error: [ngTransclude:orphan] Illegal use of ngTransclude directive in the 
template! No parent directive that requires a transclusion found.

Only when my ngTransclude is on an element that's:

1. >= 4 levels into the directive template
2. inside of an ngRepeat
3. inside of another element with a directive like ngStyle (or ngClick) 
applied to it

If any of those three aren't true, everything seems to work fine.

For an example:

http://plnkr.co/edit/tnlCSwLyhlrJwLhjQgpf?p=preview

Notice how if you comment out the outer template <div>, remove the 
ngRepeat, or remove the ngStyle the right thing happens.

Is this a bug?  If so, should I make an issue? Might it be related 
to https://github.com/angular/angular.js/issues/4969 ?

Thanks!
Ryan

-- 
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/groups/opt_out.

Reply via email to