Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Conversation

cyrilhottinger
Copy link

Replaced scope.$apply with scope.$parent.$digest as apply is very costy.

cyrilhottinger added 2 commits February 12, 2015 13:55
Replaced scope.$apply with scope.$parent.$digest as apply is very costy.
@thgreasi
Copy link
Contributor

What if the sortables are nested three levels deep and the root scope needs to be informed about a change to ng-model?
Digest will update all scopes from the scope that was executed and down.

@cyrilhottinger
Copy link
Author

Well, I did not consider that... thanks anyway ;)

@thgreasi thgreasi closed this Feb 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants