I have a popover, and this popover has ngTransclude. We show/set popup with ngSwitch (true/false). The issue here is that ngTransclude is inside ngSwitch and this slows down the application, because every time we show a popover we have to transclude/$compile. Is there a way to fix this issue?
Now we cannot just move transclude outside of popup, because that means, if I have a ng-repeat inside transcluded element, this ng-repeat is watched then, but we dont want that, we want to watch for this ng-repeat when popup is opened.