{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/14261","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/14261/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/14261/comments","events_url":"https://api.github.com/repos/angular/angular/issues/14261/events","html_url":"https://github.com/angular/angular/issues/14261","id":205021609,"number":14261,"title":"[upgrade/static] Support targeted projection","user":{"login":"youdz","id":4647197,"avatar_url":"https://avatars.githubusercontent.com/u/4647197?v=3","gravatar_id":"","url":"https://api.github.com/users/youdz","html_url":"https://github.com/youdz","followers_url":"https://api.github.com/users/youdz/followers","following_url":"https://api.github.com/users/youdz/following{/other_user}","gists_url":"https://api.github.com/users/youdz/gists{/gist_id}","starred_url":"https://api.github.com/users/youdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youdz/subscriptions","organizations_url":"https://api.github.com/users/youdz/orgs","repos_url":"https://api.github.com/users/youdz/repos","events_url":"https://api.github.com/users/youdz/events{/privacy}","received_events_url":"https://api.github.com/users/youdz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-02T22:53:21Z","updated_at":"2017-02-03T14:06:24Z","closed_at":null,"body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING\r\n-->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[ ] bug report => search github for a similar issue or PR before submitting\r\n[x] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\n<!-- Describe how the bug manifests. -->\r\nCurrently, statically downgraded Angular components (with `@angular/upgrade/static`) project all their content into the first `<ng-content>`, completely ignoring its `select` attribute. This is not the case for dynamically downgraded components (with `@angular/upgrade`), but was not ported to the new upgrade solution.\r\n\r\n**Expected behavior**\r\n<!-- Describe what the behavior would be without the bug. -->\r\nStatically downgraded components should still project their content into the correct slots, based on the `select` attribute of the `ng-content` tags.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\n<!--\r\nIf the current behavior is a bug or you can illustrate your feature request better with an example, \r\nplease provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).\r\n-->\r\nDummy component that only projects:\r\nhttp://plnkr.co/edit/w0yGlAsadJ97LiIP3AMJ?p=preview\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n<!-- Describe the motivation or the concrete use case -->\r\nIt makes it impossible for people using the targeted projection feature, supported by the previous version of the Upgrade Adapter, to move to the new static upgrade paradigm.\r\n\r\n* **Angular version:** 2.4.X\r\n<!-- Check whether this is still an issue in the most recent Angular version -->\r\n\r\n* **Browser:** all\r\n<!-- All browsers where this could be reproduced -->\r\n \r\n* **Language:** all  \r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/277254132","html_url":"https://github.com/angular/angular/issues/14261#issuecomment-277254132","issue_url":"https://api.github.com/repos/angular/angular/issues/14261","id":277254132,"user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"created_at":"2017-02-03T14:06:24Z","updated_at":"2017-02-03T14:06:24Z","body":"How about that for a turnaround: #14282?"}}
{"actor":{"display_login":"petebacondarwin"}}