Hi Paul,
The easy way out? use ng-show, for a small part, that is not an issue. If
you part is bigger, put the ng-if inside your tag.
<div transclude-to="top"><div ng-if="showTop">I'm above."</div></div>
Transcluding, and ngIf are difficult to combine. It can be worked around,
but its a lot of work. A simple solution might be, check in your
transclude-to directive if there is an $attrs.ngIf, and log a warning to
the console (or even throw an new Error('transclude-to does not support
ngIf"))
Regards
Sander
--
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.