-
Notifications
You must be signed in to change notification settings - Fork 27.5k
ng-transclude doesn't work inside ng-switch-default #4969
Comments
Confirmed this is an issue on 1.2.7 as well. |
+1 |
+1 |
+1 from here |
Hi, In your case, you should create a new directive that uses the right In your example:
In the html, you then just use Here is an updated plunker: http://plnkr.co/edit/au6pxVpGZz3vWTUcTCFT?p=preview Closing this as not a bug. Sorry for the late answer and please comment if you think I understood you incorrectly. |
@tbosch I think this is a bug. What you described is a workaround. |
@vojtajina Do you mean we should have a general solution for this, e.g. allow |
This is fixed by #7387 : http://plnkr.co/edit/BqGa4FU8Int2NkXlCRL1?p=preview |
Note: #7387 was never merged. |
can we reopen this? it's not fixed |
@chiptus, it seems pretty fixed to me (up until v1.5.5): http://plnkr.co/edit/M5vcubGIDkKuCeDqD4cc?p=preview |
When nesting ng-transclude inside an ng-switch-default directive the following error is produced:
Here it is reproduced:
http://plnkr.co/edit/3CEj5OY8uXMag75Xnliq?p=preview
The text was updated successfully, but these errors were encountered: