Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
fix(directive): call attach method ofter all bindings execute
Browse files Browse the repository at this point in the history
Closes#431
  • Loading branch information
mhevery committed Jan 27, 2014
1 parent c48433e commit 11b38ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/core_dom/block_factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ class BlockFactory {
}
if (controller is NgAttachAware) {
var removeWatcher;
removeWatcher = scope.$watch(() {
removeWatcher();
removeWatcher = scope.$evalAsync(() {
controller.attach();
});
}
Expand Down

0 comments on commit 11b38ba

Please sign in to comment.