- *I'm submitting a ... *
[x] bug report
- What is the current behavior?
When an upgraded ng1 component gets disposed the $scope created by the upgradeadapter never gets destroyed.
see https://plnkr.co/edit/pxxtGYBHTnzVzfbrhRhb?p=preview
When the button is clicked, the *ngIf disposes the upgraded ng1Comp component, and I would expect it to write "ng1-comp destroyed" to the console, but the $destroy event on the $scope is never called.
- Angular version: 2.0.0-beta.9
[x] bug report
When an upgraded ng1 component gets disposed the $scope created by the upgradeadapter never gets destroyed.
see https://plnkr.co/edit/pxxtGYBHTnzVzfbrhRhb?p=preview
When the button is clicked, the *ngIf disposes the upgraded ng1Comp component, and I would expect it to write "ng1-comp destroyed" to the console, but the $destroy event on the $scope is never called.