-
Notifications
You must be signed in to change notification settings - Fork 27.5k
ng-include directives are not expanded when transcluded #3573
Comments
+1 |
Same... also unable to get ng-include working with ng-switch |
For people who need an ngInclude workaround badly (like me) here's the working 1.0.7 version that you can plop into your 1.2.0rc1 app (it doesn't support animation): |
There is a similar issue (if not the same) with ng-view inside a transcluded directive. |
@matsko Please add test case for this use case when you revert the ng-include/ng-view manual transclusion. |
This works with the latest snapshot! http://plnkr.co/edit/TlDolruADXdT4sUPEaiE?p=preview @cdmckay thx for the fix, that also worked :) |
This works in 1.1.5 if you want animations for the time being (what I'm doing). |
What about 1.2rc2? Can anyone check that out? |
works with rc.2, closing. |
I'm on rc.2 and it's not working. When switching between multiple elements, an element with ng-include will not be switched and seems to be duplicated in the dom. |
I think this relates: I'm on 1.2.4 and using ng-if within a template that I'm linking/transcluding in a directive and its not working. I assuming that the ng-if is not being triggered at the right time?? But I've tried pre/post linking in the compile function with no luck... So yea, doesn't seem to work in 1.2.4. |
can you please open a new issue and create a plunker that reproduces the problem? thanks! |
When I upgraded to 1.2.0rc1 my ng-include directives are no longer expanded when transcluded into a ng-transclude.
Here's the Plunk:
http://plnkr.co/edit/NHlNI8bdpGX7ibBoDzcx?p=preview
The text was updated successfully, but these errors were encountered: