{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/11680","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/11680/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/11680/comments","events_url":"https://api.github.com/repos/angular/angular/issues/11680/events","html_url":"https://github.com/angular/angular/issues/11680","id":177529651,"number":11680,"title":"Multi Content/Slot Projection (ng-content) only works for very specific selectors","user":{"login":"fourctv","id":15777910,"avatar_url":"https://avatars.githubusercontent.com/u/15777910?v=3","gravatar_id":"","url":"https://api.github.com/users/fourctv","html_url":"https://github.com/fourctv","followers_url":"https://api.github.com/users/fourctv/followers","following_url":"https://api.github.com/users/fourctv/following{/other_user}","gists_url":"https://api.github.com/users/fourctv/gists{/gist_id}","starred_url":"https://api.github.com/users/fourctv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fourctv/subscriptions","organizations_url":"https://api.github.com/users/fourctv/orgs","repos_url":"https://api.github.com/users/fourctv/repos","events_url":"https://api.github.com/users/fourctv/events{/privacy}","received_events_url":"https://api.github.com/users/fourctv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T22:03:02Z","updated_at":"2016-09-16T22:08:05Z","closed_at":"2016-09-16T22:08:05Z","body":"**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[X ] bug report => search github for a similar issue or PR before submitting\r\n[ ] 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\nWhen trying to use multi content projection (<ng-content select=\"xxx\">), the compiler does not recognize slots names that are different from \"header\" or \"footer\".\r\n\r\n**Expected behavior**\r\n<!-- Describe what the behavior would be without the bug. -->\r\nOne should be allowed to use any names for multi content slots.\r\n\r\n**Reproduction of the problem**\r\nI've put out a plnkr that demonstrates the problem:\r\nhttp://plnkr.co/edit/YwbpJ2seIf2gKJKrIfNf?p=preview\r\n\r\nAs it is there, the code works. But if you remove line n.19 in 'src/app.ts', you can reproduce the error. Removing that comment line enables the lines that access a content slot named 'foobar'.\r\n\r\n* **Angular version:** 2.0.0-rc.X\r\n2.0.0.\r\n\r\n* **Browser:**\r\n all\r\n\r\n* **Language:** \r\n typescript.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/247720269","html_url":"https://github.com/angular/angular/issues/11680#issuecomment-247720269","issue_url":"https://api.github.com/repos/angular/angular/issues/11680","id":247720269,"user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T22:08:05Z","updated_at":"2016-09-16T22:08:05Z","body":"Solution is given in the error message:\r\n\r\n```\r\n'foobar' is not a known element:\r\n1. If 'foobar' is an Angular component, then verify that it is part of this module.\r\n2. If 'foobar' is a Web Component then add \"CUSTOM_ELEMENTS_SCHEMA\" to the '@NgModule.schema' of this component to suppress this message.\r\n```\r\n\r\nAnd in already closed issues, you should search for them."}}
{"actor":{"display_login":"vicb"}}