Title: Removing part of transclude destroys transclusion scope. · Issue #5703 · angular/angular.js · GitHub
Open Graph Title: Removing part of transclude destroys transclusion scope. · Issue #5703 · angular/angular.js
X Title: Removing part of transclude destroys transclusion scope. · Issue #5703 · angular/angular.js
Description: Hi, I have a directive which has an isolated scope, template and transclusion. I use the transclude function in the directive's link (as expected the transclusion is bound to the parent scope, not the isolated one) to clone the template ...
Open Graph Description: Hi, I have a directive which has an isolated scope, template and transclusion. I use the transclude function in the directive's link (as expected the transclusion is bound to the parent scope, not ...
X Description: Hi, I have a directive which has an isolated scope, template and transclusion. I use the transclude function in the directive's link (as expected the transclusion is bound to the parent scope, ...
Opengraph URL: https://github.com/angular/angular.js/issues/5703
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Removing part of transclude destroys transclusion scope.","articleBody":"Hi,\n\nI have a directive which has an isolated scope, template and transclusion. I use the transclude function in the directive's link (as expected the transclusion is bound to the parent scope, not the isolated one) to clone the template and add it to the dom. The transclusion contains several elements.\n\nAs part of the directive I sometimes remove a single element that was part of the transcluded content from the dom. This triggers $destroy on the element which destroys the transclusion scope (although there are still other elements that use it).\nThe $destroy binding is done in createBoundTranscludeFn().\n\nUnless I'm missing something this seems like a bug to me.\n\nhttp://jsfiddle.net/yarontt/rtwgT/\n","author":{"url":"https://github.com/yarontt","@type":"Person","name":"yarontt"},"datePublished":"2014-01-09T12:09:44Z","url":"https://github.com/angular/angular.js/issues/5703"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:ddce29a4-3a13-03d6-80d4-5cefb0340941 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C88A:2870F6:ACD72:EC977:6AFDFBC1 |
| html-safe-nonce | 12d0318605c8f68bc867292baf81b3cc206dd7c745bf8f5b91fec0a4bb886313 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODhBOjI4NzBGNjpBQ0Q3MjpFQzk3Nzo2QUZERkJDMSIsInZpc2l0b3JfaWQiOiI0MTkxOTg4NzA5NDc5ODA3OTM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d3985c913d19c09f5b6bf136c7f02e4facf3aec88badfa04549c33f93f015239 |
| hovercard-subject-tag | issue:25314491 |
| 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/5703/issue_layout |
| twitter:image | https://opengraph.githubassets.com/243415c2328a3634627d50cab98e11302bd4e135608925dc7d6c470f6a17aed0/angular/angular.js/issues/5703 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/243415c2328a3634627d50cab98e11302bd4e135608925dc7d6c470f6a17aed0/angular/angular.js/issues/5703 |
| og:image:alt | Hi, I have a directive which has an isolated scope, template and transclusion. I use the transclude function in the directive's link (as expected the transclusion is bound to the parent scope, not ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yarontt |
| hostname | github.com |
| expected-hostname | github.com |
| None | ee3343385a977757dd145b28fabf4a119780f2615a5a36c5a89f66c9b3b5616d |
| 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 | 43ae91995f6e2d5ff7a491f3de438f1f723adeaa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width