Title: $destroy on rootScope is ignored · Issue #1537 · angular/angular.js · GitHub
Open Graph Title: $destroy on rootScope is ignored · Issue #1537 · angular/angular.js
X Title: $destroy on rootScope is ignored · Issue #1537 · angular/angular.js
Description: Hi, $destroy on root scope is ignored. In addition to this, scopes do not appear to go through a $destroy cycle when their corresponding element is destroyed, e.g. they do not subscribe to element.$destroy and forward this on to scope.$d...
Open Graph Description: Hi, $destroy on root scope is ignored. In addition to this, scopes do not appear to go through a $destroy cycle when their corresponding element is destroyed, e.g. they do not subscribe to element....
X Description: Hi, $destroy on root scope is ignored. In addition to this, scopes do not appear to go through a $destroy cycle when their corresponding element is destroyed, e.g. they do not subscribe to element....
Opengraph URL: https://github.com/angular/angular.js/issues/1537
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"$destroy on rootScope is ignored","articleBody":"Hi, \n\n$destroy on root scope is ignored. In addition to this, scopes do not appear to go through a $destroy cycle when their corresponding element is destroyed, e.g. they do not subscribe to element.$destroy and forward this on to scope.$destroy. This is a problem as custom directives tend to subscribe to scope.$destroy to perform clean-up rather than element (although you could argue they should). This makes it quite difficult to tear down an angular based \"widget\" or application. With the ability to manually bootstrap an angular application, it would be great to also have the ability to tear down.\n\nIn my case I've got some clean (ish) ways of working around the issue, but would appreciate any suggestions...\n","author":{"url":"https://github.com/suedama1756","@type":"Person","name":"suedama1756"},"datePublished":"2012-11-07T09:38:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":24},"url":"https://github.com/1537/angular.js/issues/1537"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c6dec1ba-ec73-322f-65fd-1f7c24964eea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A172:13CA6B:E58B0A:12B1FFB:69923837 |
| html-safe-nonce | 4006eaf3aba0508f974254d5baedf0f86bcc39fde4820115f6c4a89a725ab070 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTcyOjEzQ0E2QjpFNThCMEE6MTJCMUZGQjo2OTkyMzgzNyIsInZpc2l0b3JfaWQiOiI4MjIyNjQzOTk3MjMzMDAyNTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1e93c896eb62b407634d93511112fd3ac7f6ac3affc5c1225aaefad20300c41e |
| hovercard-subject-tag | issue:8164751 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular.js/1537/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7caa0c6d0016ad8aa981e1c86137680088ea4ab88c462ed6eecac19312286503/angular/angular.js/issues/1537 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7caa0c6d0016ad8aa981e1c86137680088ea4ab88c462ed6eecac19312286503/angular/angular.js/issues/1537 |
| og:image:alt | Hi, $destroy on root scope is ignored. In addition to this, scopes do not appear to go through a $destroy cycle when their corresponding element is destroyed, e.g. they do not subscribe to element.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | suedama1756 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular.js git https://github.com/angular/angular.js.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 460078 |
| octolytics-dimension-repository_nwo | angular/angular.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 460078 |
| octolytics-dimension-repository_network_root_nwo | angular/angular.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width