{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/4805","labels_url":"https://api.github.com/repos/angular/angular/issues/4805/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/4805/comments","events_url":"https://api.github.com/repos/angular/angular/issues/4805/events","html_url":"https://github.com/angular/angular/issues/4805","id":112019103,"number":4805,"title":"css :first-child selector will not work when using *ng-for","user":{"login":"rolandjitsu","id":1479737,"avatar_url":"https://avatars.githubusercontent.com/u/1479737?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandjitsu","html_url":"https://github.com/rolandjitsu","followers_url":"https://api.github.com/users/rolandjitsu/followers","following_url":"https://api.github.com/users/rolandjitsu/following{/other_user}","gists_url":"https://api.github.com/users/rolandjitsu/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandjitsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandjitsu/subscriptions","organizations_url":"https://api.github.com/users/rolandjitsu/orgs","repos_url":"https://api.github.com/users/rolandjitsu/repos","events_url":"https://api.github.com/users/rolandjitsu/events{/privacy}","received_events_url":"https://api.github.com/users/rolandjitsu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-18T13:06:26Z","updated_at":"2015-10-19T18:43:50Z","closed_at":null,"body":"It seems like when using `*ng-for=\"item of items\"` to render a list of items, if I want to use the `:first-child` selector it will not work as expected. It looks like right before the first item, there is a `<script></script>` tag inserted, so the rendering ends up as:\r\n```html\r\n<ul>\r\n    <script></script>\r\n    <li></li>\r\n    <li></li>\r\n    <li></li>\r\n</ul>\r\n```\r\nProbably that is intentional, but it should be taken into consideration that this would break the expected behaviour of `:first-child` and a fix for it might be a good idea."},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/149309199","html_url":"https://github.com/angular/angular/issues/4805#issuecomment-149309199","issue_url":"https://api.github.com/repos/angular/angular/issues/4805","id":149309199,"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":"2015-10-19T18:43:50Z","updated_at":"2015-10-19T18:43:50Z","body":"> What is the content of this tag ?\r\n\r\nThere is no content, it marks place where views can be inserted."}}