How to use angular in a fancybox dynamically shown by jquery

In a brownfield application I encountered a old fancybox jquery plugin. This plugin was used throughout the whole application. This fancybox is just a modal dialog.

I wanted the content of the fancybox to be handled by angular.


To accomplish this, I used the following code:





You can find the code at:

Leave a Reply

Your email address will not be published. Required fields are marked *