From 9d5c53379180a110e427a01a1446eada3f0fc3d6 Mon Sep 17 00:00:00 2001
From: Igor Minar
Date: Thu, 10 Mar 2011 14:26:22 -0800
Subject: ng:autobind now optionally takes element id
so it is possible to easily compile just a part of a document.
e.g.:
partially compiled doc
this part won't be compiled: {{1+2}}
Click count: {{i}}
---
src/angular-bootstrap.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/angular-bootstrap.js')
diff --git a/src/angular-bootstrap.js b/src/angular-bootstrap.js
index 41ec2088..946968ab 100644
--- a/src/angular-bootstrap.js
+++ b/src/angular-bootstrap.js
@@ -153,7 +153,7 @@
//angular-ie-compat.js needs to be pregenerated for development with IE<8
if (msie<8) addScript('../angular-ie-compat.js');
- angularInit(angularJsConfig(document));
+ angularInit(angularJsConfig(document), document);
}
if (window.addEventListener){
--
cgit v1.2.3