diff options
Diffstat (limited to 'src/Compiler.js')
| -rw-r--r-- | src/Compiler.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compiler.js b/src/Compiler.js index 923f7b2f..e97fb112 100644 --- a/src/Compiler.js +++ b/src/Compiler.js @@ -93,6 +93,7 @@ Compiler.prototype = { rawElement = jqLite(rawElement); var template = this.templatize(rawElement) || new Template(); return function(element, parentScope){ + element = jqLite(element); parentScope = parentScope || {}; var scope = createScope(parentScope); parentScope.$root = parentScope.$root || scope; |
