{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/1802","labels_url":"https://api.github.com/repos/angular/angular/issues/1802/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/1802/comments","events_url":"https://api.github.com/repos/angular/angular/issues/1802/events","html_url":"https://github.com/angular/angular/issues/1802","id":75147186,"number":1802,"title":"Attribute as component selector not recognized","user":{"login":"SekibOmazic","id":3735902,"avatar_url":"https://avatars.githubusercontent.com/u/3735902?v=3","gravatar_id":"","url":"https://api.github.com/users/SekibOmazic","html_url":"https://github.com/SekibOmazic","followers_url":"https://api.github.com/users/SekibOmazic/followers","following_url":"https://api.github.com/users/SekibOmazic/following{/other_user}","gists_url":"https://api.github.com/users/SekibOmazic/gists{/gist_id}","starred_url":"https://api.github.com/users/SekibOmazic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SekibOmazic/subscriptions","organizations_url":"https://api.github.com/users/SekibOmazic/orgs","repos_url":"https://api.github.com/users/SekibOmazic/repos","events_url":"https://api.github.com/users/SekibOmazic/events{/privacy}","received_events_url":"https://api.github.com/users/SekibOmazic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-11T09:10:40Z","updated_at":"2015-05-11T17:58:07Z","closed_at":"2015-05-11T17:58:07Z","body":"After updating my plunk from alpha.20 to alpha.22 I've got following exception:\r\n\r\n```Shell\r\nComponent 'A' can only have an element selector, but had '[a]'\r\n\r\nError\r\n    at new BaseException (https://code.angularjs.org/2.0.0-alpha.22/angular2.dev.js:5938:25)\r\n    at DirectiveParser._ensureComponentOnlyHasElementSelector (https://code.angularjs.org/2.0.0-alpha.22/angular2.dev.js:19095:21)\r\n```\r\nSee console in plunk for detailed stack trace.\r\n\r\nPlunk: http://plnkr.co/edit/yXqVIkJXG3OXsoouYTN2?p=preview"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/100998920","html_url":"https://github.com/angular/angular/issues/1802#issuecomment-100998920","issue_url":"https://api.github.com/repos/angular/angular/issues/1802","id":100998920,"user":{"login":"SekibOmazic","id":3735902,"avatar_url":"https://avatars.githubusercontent.com/u/3735902?v=3","gravatar_id":"","url":"https://api.github.com/users/SekibOmazic","html_url":"https://github.com/SekibOmazic","followers_url":"https://api.github.com/users/SekibOmazic/followers","following_url":"https://api.github.com/users/SekibOmazic/following{/other_user}","gists_url":"https://api.github.com/users/SekibOmazic/gists{/gist_id}","starred_url":"https://api.github.com/users/SekibOmazic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SekibOmazic/subscriptions","organizations_url":"https://api.github.com/users/SekibOmazic/orgs","repos_url":"https://api.github.com/users/SekibOmazic/repos","events_url":"https://api.github.com/users/SekibOmazic/events{/privacy}","received_events_url":"https://api.github.com/users/SekibOmazic/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T17:58:07Z","updated_at":"2015-05-11T17:58:07Z","body":"@vsavkin That makes sense of course. \r\n@pkozlowski-opensource The documentation also needs an update:\r\nRemove https://github.com/angular/angular/blob/master/modules/angular2/src/core/annotations_impl/annotations.js#L380\r\nand add a description for `selector` in `Component` section\r\n\r\nWill close this as everything is clear."}}