| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d1d3b31b-16a9-3ea3-eb57-23a86967d901 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE3E:14F601:13132EB:1857EC8:6B010E2B |
| html-safe-nonce | 9f266f0f745ed23bc4d57a54951757e67d5164b9c8a0a6d15e19e8e1b1660af3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTNFOjE0RjYwMToxMzEzMkVCOjE4NTdFQzg6NkIwMTBFMkIiLCJ2aXNpdG9yX2lkIjoiMjkwNjQ0ODY2MDcwMTE4NzYyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45457869d3be7b83e03bdcfd3ec4d016098ad23755f68c036ab84ce67ac1e4f3 |
| hovercard-subject-tag | pull_request:5214583935 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/angular/angular/pull/71887/files |
| twitter:image | https://avatars.githubusercontent.com/u/1300985?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1300985?s=400&v=4 |
| og:image:alt | This PR extends compiler and template type-checking validation for virtual elements to <ng-content> and <ng-template>:
Template transformation (r3_template_transform.ts):
<ng-templ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/angular/angular/pull/71887/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F71887%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F71887%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular |
| Reload | https://github.com/angular/angular/pull/71887/files |
| Reload | https://github.com/angular/angular/pull/71887/files |
| Reload | https://github.com/angular/angular/pull/71887/files |
| angular | https://github.com/angular |
| angular | https://github.com/angular/angular |
| Code | https://github.com/angular/angular |
| Issues835 (835) | https://github.com/angular/angular/issues |
| Pull requests141 (141) | https://github.com/angular/angular/pulls |
| Discussions | https://github.com/angular/angular/discussions |
| Actions | https://github.com/angular/angular/actions |
| Projects | https://github.com/angular/angular/projects |
| Security and quality40 (40) | https://github.com/angular/angular/security |
| Insights | https://github.com/angular/angular/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose |
| JeanMeche | https://github.com/JeanMeche |
| angular:main | https://github.com/angular/angular/tree/main |
| JeanMeche:compiler-virtual-element-bindings | https://github.com/JeanMeche/angular/tree/compiler-virtual-element-bindings |
|
Conversation
6
| https://github.com/angular/angular/pull/71887 |
|
Commits
1
| https://github.com/angular/angular/pull/71887/commits |
|
Checks
19
| https://github.com/angular/angular/pull/71887/checks |
|
Files changed
| https://github.com/angular/angular/pull/71887/files |
| Please reload this page | https://github.com/angular/angular/pull/71887/files |
|
refactor(compiler): disallow unsupported bindings and attributes on ng-content and ng-template
| https://github.com/angular/angular/pull/71887/files#top |
|
Show all changes
1 commit
| https://github.com/angular/angular/pull/71887/files |
|
41017f3
refactor(compiler): disallow unsupported bindings and attributes on n…
JeanMeche Nov 8, 2026
| https://github.com/angular/angular/pull/71887/commits/41017f3af13033169ad4d66019dbc716383cb37e |
|
Clear filters
| https://github.com/angular/angular/pull/71887/files |
| Please reload this page | https://github.com/angular/angular/pull/71887/files |
| Please reload this page | https://github.com/angular/angular/pull/71887/files |
|
oob.ts
| https://github.com/angular/angular/pull/71887/files#diff-9180cedc6cc5ef0909186afebc066623107d374b5c27a4c684c7c10449e39099 |
|
oob.ts
| https://github.com/angular/angular/pull/71887/files#diff-50f9918c2a4813f5182f3ea879372d773ef9e0de7d1864f2923fb46a89953ef0 |
|
diagnostics_spec.ts
| https://github.com/angular/angular/pull/71887/files#diff-5d0a8394612d2d8f653ea59dfda0c809795c6bc38d2fee638849ea6f4a2fdbfd |
|
index.ts
| https://github.com/angular/angular/pull/71887/files#diff-49fe94d4a7d4e7db381db4e750af7e031e9f33f09b3b89e29ab1f3fe7fa77546 |
|
ngp_typecheck_testing.ts
| https://github.com/angular/angular/pull/71887/files#diff-100419f25a4e2e834faff14f276b1fbdd2107bdacade14eba35b1b17dd1a1815 |
|
GOLDEN_PARTIAL.js
| https://github.com/angular/angular/pull/71887/files#diff-246c4098fdcdc9c11e436f24fc6e7b37c012ade188e4f75cec7e12280db6aa58 |
|
ng_content_fallback.js
| https://github.com/angular/angular/pull/71887/files#diff-0fd5169e28f83b1800e7b0cf5a6e8789208c2094ddd4d5d9cd1a054dc2b8dfe2 |
|
ng_content_fallback.ts
| https://github.com/angular/angular/pull/71887/files#diff-47027f13ab001bd1f4146dfd70e6edf5c216cbdc8b84b8926a55b4a03eb273db |
|
ng_content_fallback_isolated.golden.d.ts
| https://github.com/angular/angular/pull/71887/files#diff-1b286c05059a792bab717aadc06c646d8668142a4cc8a404486a1aff6e830364 |
|
ng_content_with_structural_dir.js
| https://github.com/angular/angular/pull/71887/files#diff-7c357bd0ffb66b12411cf62b7b3be9f417f1addc800e5042898ca54513127399 |
|
ng_content_with_structural_dir.ts
| https://github.com/angular/angular/pull/71887/files#diff-c6283ed52affaf7dc0bc26708dfe75da18c4d47ef31cea9409a4a5d75a6a121c |
|
ng_content_with_structural_dir_isolated.golden.d.ts
| https://github.com/angular/angular/pull/71887/files#diff-59dd0c2f03a1d01d0b5bce3b9f8308cda0ae1815cb5927188092b723d3d8d369 |
|
GOLDEN_PARTIAL.js
| https://github.com/angular/angular/pull/71887/files#diff-5d9a519991512f137ca41e413e5b95eedbba49dfaaabc9906e0e1b803e27582d |
|
TEST_CASES.json
| https://github.com/angular/angular/pull/71887/files#diff-38df28f4d484511d15a6ef469c843ba3a9a0dfe6874b583af76bc2c946f3a0b8 |
|
ng_template_bindings.js
| https://github.com/angular/angular/pull/71887/files#diff-24e8f191b5eeb6e5e3b5efea500ddaf30360088b19249066fdfe58d669315aa0 |
|
ng_template_bindings.ts
| https://github.com/angular/angular/pull/71887/files#diff-8ab64b80cb8a185d2f805bcfa6110a638cb9220c75fba3d88b9d28cbd32de46d |
|
self_closing_structural_directives.js
| https://github.com/angular/angular/pull/71887/files#diff-1e1bea0e8b4eed039cb421328be06a8974652cd482a1206a1ba70a9293ebca0f |
|
unique_template_function_names_ng_content.js
| https://github.com/angular/angular/pull/71887/files#diff-a962217992c4bee64347703f67ec52aa1be9fa0fc9acd177a9d5796354e7d461 |
|
unique_template_function_names_ng_content.ts
| https://github.com/angular/angular/pull/71887/files#diff-11d1fe333dc8fc4b25fd38714937b4f501b8a10989a631609c4d26c0ee5e5ad8 |
|
unique_template_function_names_ng_content_isolated.golden.d.ts
| https://github.com/angular/angular/pull/71887/files#diff-fa78cb59e7b1cacaa82ad1130736a43aa432398730b3ec64a176b62f0cbb41fa |
|
r3_template_transform.ts
| https://github.com/angular/angular/pull/71887/files#diff-bd2071834447626dd140448c977e33a8fae854b527a1dbdadc5d2be4108a48a3 |
|
template_preparser.ts
| https://github.com/angular/angular/pull/71887/files#diff-07b0bb2ac3e426f6086fc084aef24f448c1e3705867ca8aa0481d1d119e1fc55 |
|
oob.ts
| https://github.com/angular/angular/pull/71887/files#diff-4f66602645772b00110755d6dfb49e15316e9856736978271d8cd17f00d1f19b |
|
content_projection.ts
| https://github.com/angular/angular/pull/71887/files#diff-5470be26709f59d2ee6374bdd70ac474556776d7f78d59c7ea71e09736f74412 |
|
context.ts
| https://github.com/angular/angular/pull/71887/files#diff-da206338b9d388289fabc00ff65f6ca575b3b715ec138e0af92b7989d5983a02 |
|
scope.ts
| https://github.com/angular/angular/pull/71887/files#diff-3b43d33e871d810344bc7a81ac0b3aa0260d5070ecd2ea513ad7aa5e2fda9464 |
|
r3_template_transform_spec.ts
| https://github.com/angular/angular/pull/71887/files#diff-9f7ec17dd7b96d636aa27b38871ecf47e86afc5823046637d19bac1918409746 |
|
util.ts
| https://github.com/angular/angular/pull/71887/files#diff-ecee869b7ca2c90d50eace745cfb13d2344edaf491487c9c1db0087f5d0f061f |
|
module.ts
| https://github.com/angular/angular/pull/71887/files#diff-01abd59fc3c9ef7e7951a3339784db25b0c46fdb29ff16dda2c50f16949476b0 |
|
module.ts
| https://github.com/angular/angular/pull/71887/files#diff-2fd07d0cbad58343ba8aaa8eb7aa6d3deb1c3bf5d0f92de0ba428ca0b78da094 |
|
template_target_spec.ts
| https://github.com/angular/angular/pull/71887/files#diff-71d060be6ea7b005eea6eaa8c63e0d3f5a1e47c1b53943a7f4bd840a6eee5499 |
|
full_app_hydration_spec.ts
| https://github.com/angular/angular/pull/71887/files#diff-212384b7cadd1f6fd5c408cc3ae1a4fedd901b8210cfc7172e77d7fa0104c250 |
| packages/compiler-cli/preprocessor/src/oob.ts | https://github.com/angular/angular/pull/71887/files#diff-9180cedc6cc5ef0909186afebc066623107d374b5c27a4c684c7c10449e39099 |
|
View file
| https://github.com/angular/angular/blob/41017f3af13033169ad4d66019dbc716383cb37e/packages/compiler-cli/preprocessor/src/oob.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/71887/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/71887/files#diff-9180cedc6cc5ef0909186afebc066623107d374b5c27a4c684c7c10449e39099 |
|
| https://github.com/angular/angular/pull/71887/files#diff-9180cedc6cc5ef0909186afebc066623107d374b5c27a4c684c7c10449e39099 |
| packages/compiler-cli/src/ngtsc/typecheck/src/oob.ts | https://github.com/angular/angular/pull/71887/files#diff-50f9918c2a4813f5182f3ea879372d773ef9e0de7d1864f2923fb46a89953ef0 |
|
View file
| https://github.com/angular/angular/blob/41017f3af13033169ad4d66019dbc716383cb37e/packages/compiler-cli/src/ngtsc/typecheck/src/oob.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/71887/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/71887/files#diff-50f9918c2a4813f5182f3ea879372d773ef9e0de7d1864f2923fb46a89953ef0 |
|
| https://github.com/angular/angular/pull/71887/files#diff-50f9918c2a4813f5182f3ea879372d773ef9e0de7d1864f2923fb46a89953ef0 |
|
| https://github.com/angular/angular/pull/71887/files#diff-50f9918c2a4813f5182f3ea879372d773ef9e0de7d1864f2923fb46a89953ef0 |
|
| https://github.com/angular/angular/pull/71887/files#diff-50f9918c2a4813f5182f3ea879372d773ef9e0de7d1864f2923fb46a89953ef0 |
|
| https://github.com/angular/angular/pull/71887/files#diff-50f9918c2a4813f5182f3ea879372d773ef9e0de7d1864f2923fb46a89953ef0 |
| packages/compiler-cli/src/ngtsc/typecheck/test/diagnostics_spec.ts | https://github.com/angular/angular/pull/71887/files#diff-5d0a8394612d2d8f653ea59dfda0c809795c6bc38d2fee638849ea6f4a2fdbfd |
|
View file
| https://github.com/angular/angular/blob/41017f3af13033169ad4d66019dbc716383cb37e/packages/compiler-cli/src/ngtsc/typecheck/test/diagnostics_spec.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/71887/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/71887/files#diff-5d0a8394612d2d8f653ea59dfda0c809795c6bc38d2fee638849ea6f4a2fdbfd |
|
| https://github.com/angular/angular/pull/71887/files#diff-5d0a8394612d2d8f653ea59dfda0c809795c6bc38d2fee638849ea6f4a2fdbfd |
| packages/compiler-cli/src/ngtsc/typecheck/testing/index.ts | https://github.com/angular/angular/pull/71887/files#diff-49fe94d4a7d4e7db381db4e750af7e031e9f33f09b3b89e29ab1f3fe7fa77546 |
|
View file
| https://github.com/angular/angular/blob/41017f3af13033169ad4d66019dbc716383cb37e/packages/compiler-cli/src/ngtsc/typecheck/testing/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/71887/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/71887/files#diff-49fe94d4a7d4e7db381db4e750af7e031e9f33f09b3b89e29ab1f3fe7fa77546 |
|
| https://github.com/angular/angular/pull/71887/files#diff-49fe94d4a7d4e7db381db4e750af7e031e9f33f09b3b89e29ab1f3fe7fa77546 |
| packages/compiler-cli/src/ngtsc/typecheck/testing/src/ngp_typecheck_testing.ts | https://github.com/angular/angular/pull/71887/files#diff-100419f25a4e2e834faff14f276b1fbdd2107bdacade14eba35b1b17dd1a1815 |
|
View file
| https://github.com/angular/angular/blob/41017f3af13033169ad4d66019dbc716383cb37e/packages/compiler-cli/src/ngtsc/typecheck/testing/src/ngp_typecheck_testing.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/71887/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/71887/files#diff-100419f25a4e2e834faff14f276b1fbdd2107bdacade14eba35b1b17dd1a1815 |
|
| https://github.com/angular/angular/pull/71887/files#diff-100419f25a4e2e834faff14f276b1fbdd2107bdacade14eba35b1b17dd1a1815 |
| ...ses/r3_compiler_compliance/components_and_directives/content_projection/GOLDEN_PARTIAL.js | https://github.com/angular/angular/pull/71887/files#diff-246c4098fdcdc9c11e436f24fc6e7b37c012ade188e4f75cec7e12280db6aa58 |
|
View file
| https://github.com/angular/angular/blob/41017f3af13033169ad4d66019dbc716383cb37e/packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/content_projection/GOLDEN_PARTIAL.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/71887/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/71887/files#diff-246c4098fdcdc9c11e436f24fc6e7b37c012ade188e4f75cec7e12280db6aa58 |
|
| https://github.com/angular/angular/pull/71887/files#diff-246c4098fdcdc9c11e436f24fc6e7b37c012ade188e4f75cec7e12280db6aa58 |
|
| https://github.com/angular/angular/pull/71887/files#diff-246c4098fdcdc9c11e436f24fc6e7b37c012ade188e4f75cec7e12280db6aa58 |
|
| https://github.com/angular/angular/pull/71887/files#diff-246c4098fdcdc9c11e436f24fc6e7b37c012ade188e4f75cec7e12280db6aa58 |
|
| https://github.com/angular/angular/pull/71887/files#diff-246c4098fdcdc9c11e436f24fc6e7b37c012ade188e4f75cec7e12280db6aa58 |
|
| https://github.com/angular/angular/pull/71887/files#diff-246c4098fdcdc9c11e436f24fc6e7b37c012ade188e4f75cec7e12280db6aa58 |
| Please reload this page | https://github.com/angular/angular/pull/71887/files |
| Please reload this page | https://github.com/angular/angular/pull/71887/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |