diff options
Diffstat (limited to 'src/widgets.js')
| -rw-r--r-- | src/widgets.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets.js b/src/widgets.js index ac8a88e0..87ceb909 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -673,12 +673,12 @@ angularWidget('ng:include', function(element){ useScope = this.$eval(scopeExp); if (src) { - xhr('GET', src, function(code, response){ + xhr('GET', src, null, function(code, response){ element.html(response); childScope = useScope || createScope(scope); compiler.compile(element)(childScope); scope.$eval(onloadExp); - }); + }, false, true); } else { childScope = null; element.html(''); @@ -1066,10 +1066,10 @@ angularWidget('ng:view', function(element) { } if (src) { - $xhr('GET', src, function(code, response){ + $xhr('GET', src, null, function(code, response){ element.html(response); compiler.compile(element)(childScope); - }); + }, false, true); } else { element.html(''); } |
