From 7575b3c57404ff3fd9d5b30b56f7380da251525d Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Mon, 11 Feb 2013 22:17:13 +0100 Subject: [PATCH] fix($dialog): $compile entire modal Closes #122 --- src/dialog/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialog/dialog.js b/src/dialog/dialog.js index a8a24374a4..652fcc56f5 100644 --- a/src/dialog/dialog.js +++ b/src/dialog/dialog.js @@ -122,7 +122,7 @@ dialogModule.provider("$dialog", function(){ self.modalEl.contents().data('ngControllerController', ctrl); } - $compile(self.modalEl.contents())($scope); + $compile(self.modalEl)($scope); self._addElementsToDom(); // trigger tranisitions