From f70bb364bb3c8955b2d7b181a01277f00ad101d1 Mon Sep 17 00:00:00 2001 From: Androo Date: Mon, 10 Mar 2014 22:28:56 +1100 Subject: [PATCH] Updated compatibility with Iron Router --- ngMeteor.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ngMeteor.js b/ngMeteor.js index 550cad1..3142480 100644 --- a/ngMeteor.js +++ b/ngMeteor.js @@ -19,19 +19,6 @@ ngMeteor.config(['$interpolateProvider', } ]); -// Manual initilisation of ngMeteor -angular.element(document).ready(function() { - if(Template.__defaultLayout__){ - // For compatability with iron-router - Template.__defaultLayout__.rendered = function(){ - angular.bootstrap(document, ['ngMeteor']); - } - }else{ - angular.bootstrap(document, ['ngMeteor']); - } -}); - - // Manual initilisation of ngMeteor angular.element(document).ready(function() { if (!angular.element(document).injector()){