diff options
Diffstat (limited to 'src/Loader.js')
| -rw-r--r-- | src/Loader.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Loader.js b/src/Loader.js index 2ce44f48..f3c765cd 100644 --- a/src/Loader.js +++ b/src/Loader.js @@ -284,10 +284,7 @@ Loader.prototype = { log('$binder.parseAnchor()'); binder.parseAnchor(); - - log('$binder.executeInit()'); - binder.executeInit(); - + log('$binder.updateView()'); binder.updateView(); @@ -419,8 +416,9 @@ angular['compile'] = function(root, config) { var scope = jQuery(root).scope(); //TODO: cleanup return { - 'updateView':function(){return scope.updateView.apply(scope, arguments);}, + 'updateView':function(){return scope.updateView();}, 'set':function(){return scope.set.apply(scope, arguments);}, - 'get':function(){return scope.get.apply(scope, arguments);} + 'get':function(){return scope.get.apply(scope, arguments);}, + 'init':function(){scope.get('$binder.executeInit')(); scope.updateView();} }; };
\ No newline at end of file |
