aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorMisko Hevery2011-10-31 15:33:52 -0700
committerMisko Hevery2011-11-14 16:39:32 -0800
commitc925f8a6578e05c8136c206f2fd98eeaaf1c0f16 (patch)
treee0211ce36aabe753fd633874ea5338612ab9f9fb /src/Angular.js
parent4c10d33eb4340d6df30e298d63f4d37c25aab65f (diff)
downloadangular.js-c925f8a6578e05c8136c206f2fd98eeaaf1c0f16.tar.bz2
new(injector): new injector v2.0
- not connected to keep the CL small
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 29199f9b..bbd43d3b 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -948,7 +948,7 @@ function angularInit(config, document){
if (autobind) {
var element = isString(autobind) ? document.getElementById(autobind) : document,
- injector = createInjector(),
+ injector = createInjector(angularService),
scope = injector('$rootScope');
injector('$compile')(element)(scope);