-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(uiView): do not leave initial view scope undestroyed (#3164)
Previously the contents of the initial view were linked and left undestroyed when the view was replaced with a subview. Because the view was not destroyed, directives like ngInclude assumed it was safe to compile and link asynchronous content to it. This would cause a ctreq error if the asynchronous content required another directive from the DOM. Now the initial view is either not linked at all or its scope is properly destroyed. Closes #1896
- Loading branch information
1 parent
9795c8f
commit 37d6f9a
Showing
2 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters