Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b788e32

Browse files
committed
Fix
1 parent 31e3b7f commit b788e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/rootScope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function $RootScopeProvider() {
237237
// prototypically. In all other cases, this property needs to be set
238238
// when the parent scope is destroyed.
239239
// The listener needs to be added after the parent is set
240-
if (isolate || parent != this) child.$on('$destroy', destroyChild);
240+
if (isolate || parent != this) child.$on('$destroy', destroyChildScope);
241241

242242
return child;
243243
},

0 commit comments

Comments
 (0)