How can I get AngularJS binds working with a fancybox dialog?
问题 I'm learning AngularJS and I'm having some difficulties with dialogs . Since i'm converting my app from a classical Jquery-based to an angular one, i want to use Fancybox to open dialogs with custom dynamic HTML inside, with the fancybox open method. $.fancybox.open(html); I wrote a service to use fancybox : now i open my dialogs but the content inside the dialog is not "compiled" against angular , so any angular directive set on that HTML doesn't work. See the example http://plnkr.co/edit