Title: Template transclusion is evaluated in wrong moment · Issue #13760 · angular/angular · GitHub
Open Graph Title: Template transclusion is evaluated in wrong moment · Issue #13760 · angular/angular
X Title: Template transclusion is evaluated in wrong moment · Issue #13760 · angular/angular
Description: [x] bug report => search github for a similar issue or PR before submitting Version: 2.4.1 A component with selector parent-component has this:
Open Graph Description: [x] bug report => search github for a similar issue or PR before submitting Version: 2.4.1 A component with selector parent-component has this:
X Description: [x] bug report => search github for a similar issue or PR before submitting Version: 2.4.1 A component with selector parent-component has this: <div *ngIf="false"> <ng-content...
Opengraph URL: https://github.com/angular/angular/issues/13760
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Template transclusion is evaluated in wrong moment","articleBody":"```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n```\r\n\r\nVersion: 2.4.1\r\n\r\nA component with selector parent-component has this:\r\n\r\n```\r\n\u003cdiv *ngIf=\"false\">\r\n\t\u003cng-content>\u003c/ng-content>\r\n\u003c/div>\r\n```\r\n\r\nAnd it is inserted in another template with:\r\n\r\n```\r\n\u003cparent-component>\r\n some logic error inside this\r\n\u003c/parent-component>\r\n```\r\n\r\nIf there is no parent-component and the div with ngIf was just above the logic error, it would not be an error.\r\n\r\nBut with transclusion the error happens.","author":{"url":"https://github.com/asfernandes","@type":"Person","name":"asfernandes"},"datePublished":"2017-01-03T20:57:35Z","url":"https://github.com/angular/angular/issues/13760"}
| 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:e2273640-f9af-fd61-6880-b442018b5629 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B800:14700E:2421E8B:2DCC298:6B01836E |
| html-safe-nonce | 704846c7ea8e19ab9a4f17917610d18c6ecf42541453bc74f9bd1a7b227e472b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODAwOjE0NzAwRToyNDIxRThCOjJEQ0MyOTg6NkIwMTgzNkUiLCJ2aXNpdG9yX2lkIjoiMjQ4MDAwMTU5NDEwNDU3ODkyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e3cda3a4ba74bc2fd4893b529bfec5ffe068f7d89971bb2fc6e420ca83956f4f |
| hovercard-subject-tag | issue:198566975 |
| 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/13760/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db7268eedaeb99d782c52f958d251fa2e8eb55c9ce50ddbd07d6776e9f43b325/angular/angular/issues/13760 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db7268eedaeb99d782c52f958d251fa2e8eb55c9ce50ddbd07d6776e9f43b325/angular/angular/issues/13760 |
| og:image:alt | [x] bug report => search github for a similar issue or PR before submitting Version: 2.4.1 A component with selector parent-component has this: |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asfernandes |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width