{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/14320","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/14320/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/14320/comments","events_url":"https://api.github.com/repos/angular/angular/issues/14320/events","html_url":"https://github.com/angular/angular/issues/14320","id":205559266,"number":14320,"title":"@ContentChildren with descendants search doesn't work if used near ng-content","user":{"login":"andrui","id":10127795,"avatar_url":"https://avatars.githubusercontent.com/u/10127795?v=3","gravatar_id":"","url":"https://api.github.com/users/andrui","html_url":"https://github.com/andrui","followers_url":"https://api.github.com/users/andrui/followers","following_url":"https://api.github.com/users/andrui/following{/other_user}","gists_url":"https://api.github.com/users/andrui/gists{/gist_id}","starred_url":"https://api.github.com/users/andrui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrui/subscriptions","organizations_url":"https://api.github.com/users/andrui/orgs","repos_url":"https://api.github.com/users/andrui/repos","events_url":"https://api.github.com/users/andrui/events{/privacy}","received_events_url":"https://api.github.com/users/andrui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-02-06T11:46:27Z","updated_at":"2017-02-06T14:56:42Z","closed_at":null,"body":"Hi,\r\n\r\nUse-case:\r\n1) I have a directive which performs my custom componetns search via ContentChildren\r\n2) I have multiple re-usable container components\r\n3) I want to use \"search\" directive in the template of these components\r\n\r\nHere is [plunker](http://plnkr.co/edit/VEcMTTkr7TayU9vcSB7y?p=preview) with STR:\r\n1) Open plunker\r\n2) Open browser's console\r\n3) \"dump inputs from container\" dumps the result of \"search\" directive. Directive was used in container's component template. Array will be empty (reproduction of the issue)\r\n4) At the same time \"dump inputs from app\" dumps 3 existing input components. Directive was used for container in app's template"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/277706561","html_url":"https://github.com/angular/angular/issues/14320#issuecomment-277706561","issue_url":"https://api.github.com/repos/angular/angular/issues/14320","id":277706561,"user":{"login":"andrui","id":10127795,"avatar_url":"https://avatars.githubusercontent.com/u/10127795?v=3","gravatar_id":"","url":"https://api.github.com/users/andrui","html_url":"https://github.com/andrui","followers_url":"https://api.github.com/users/andrui/followers","following_url":"https://api.github.com/users/andrui/following{/other_user}","gists_url":"https://api.github.com/users/andrui/gists{/gist_id}","starred_url":"https://api.github.com/users/andrui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrui/subscriptions","organizations_url":"https://api.github.com/users/andrui/orgs","repos_url":"https://api.github.com/users/andrui/repos","events_url":"https://api.github.com/users/andrui/events{/privacy}","received_events_url":"https://api.github.com/users/andrui/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T14:56:42Z","updated_at":"2017-02-06T14:56:42Z","body":"![a_14320](https://cloud.githubusercontent.com/assets/10127795/22651830/ea365faa-ec8c-11e6-85bd-a2fd15610fec.png)\r\n\r\nIs it expected behaviour? What is the difference of querying from component and directive which is used in component?"}}
{"actor":{"display_login":"andrui"}}