diff options
| author | Igor Minar | 2010-10-05 10:50:16 -0700 | 
|---|---|---|
| committer | Igor Minar | 2010-10-16 22:10:01 -0700 | 
| commit | 54090d776613f9e7bac6a77a037412b285222d58 (patch) | |
| tree | fda0cd70e052a163519918dcc6362f4164e37588 /src/widgets.js | |
| parent | b08e2be64c749da433d6c8a4e764f3c80c6f1e86 (diff) | |
| download | angular.js-54090d776613f9e7bac6a77a037412b285222d58.tar.bz2 | |
ng:include should remove the reference to childScope when src is blank
Diffstat (limited to 'src/widgets.js')
| -rw-r--r-- | src/widgets.js | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets.js b/src/widgets.js index c9dfab99..83a784f1 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -273,6 +273,7 @@ angularWidget('ng:include', function(element){              childScope.$init();            });          } else { +          childScope = null;            element.html('');          }        });  | 
