{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/5894","labels_url":"https://api.github.com/repos/angular/angular/issues/5894/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/5894/comments","events_url":"https://api.github.com/repos/angular/angular/issues/5894/events","html_url":"https://github.com/angular/angular/issues/5894","id":122191569,"number":5894,"title":"*directive not parsing correctly","user":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20core/view/compiler","name":"comp: core/view/compiler","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/effort1:%20easy%20(hour)","name":"effort1: easy (hour)","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular/labels/P1:%20urgent","name":"P1: urgent","color":"eb6420"},{"url":"https://api.github.com/repos/angular/angular/labels/type:%20bug","name":"type: bug","color":"EEEEEE"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/52","html_url":"https://github.com/angular/angular/milestones/beta.1","labels_url":"https://api.github.com/repos/angular/angular/milestones/52/labels","id":1378400,"number":52,"title":"beta.1","description":"Things to do after Beta that take us towards Angular 2 final release.","creator":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":1,"state":"open","created_at":"2015-10-27T00:25:16Z","updated_at":"2015-12-15T04:28:34Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-12-15T04:27:52Z","updated_at":"2015-12-15T05:53:13Z","closed_at":null,"body":"See example: http://plnkr.co/edit/MKXaB0oJBaUNLbsPWYLk?p=preview\r\n\r\nBoth of these should parse correctly:\r\n```\r\n<div *bsPane=\"title exp\"></div>\r\n<div *bsPane=\"title: exp\"></div>\r\n```\r\n\r\nGiven:\r\n\r\n```\r\n@Directive({\r\n  selector: '[bsPane]'\r\n})\r\nclass Foo {\r\n  @Input() bsPaneTitle: string;\r\n}\r\n```\r\n\r\ninstead get error:\r\n\r\n```\r\nCan't bind to 'bsPane' since it isn't a known native property (\"\r\n    Demo:\r\n    <div [ERROR ->]*bsPane=\"title 'Overview'\"></div>\r\n    <div *bsPane=\"title 'Summary'\"></div>\"): DiDemo@2:9\r\nProperty binding bsPane not used by any directive on an embedded template (\"\r\n    Demo:\r\n    [ERROR ->]<div *bsPane=\"title 'Overview'\"></div>\r\n    <div *bsPane=\"title 'Summary'\"></div>\"): DiDemo@2:4\r\nCan't bind to 'bsPane' since it isn't a known native property (\"\r\n    Demo:\r\n    <div *bsPane=\"title 'Overview'\"></div>\r\n    <div [ERROR ->]*bsPane=\"title 'Summary'\"></div>\"): DiDemo@3:9\r\nProperty binding bsPane not used by any directive on an embedded template (\"\r\n    Demo:\r\n    <div *bsPane=\"title 'Overview'\"></div>\r\n    [ERROR ->]<div *bsPane=\"title 'Summary'\"></div>\"): DiDemo@3:4```\r\n```\r\n\r\nand \r\n\r\n```\r\nEXCEPTION: Template parse errors:\r\nParser Error: Unexpected token :, expected identifier, keyword, or string at column 13 in [bsPane title: 'Overview'] in DiDemo@2:9 (\"\r\n    Demo:\r\n    <div [ERROR ->]*bsPane=\"title: 'Overview'\"></div>\r\n    <div *bsPane=\"title: 'Summary'\"></div>\"): DiDemo@2:9\r\nParser Error: Unexpected token :, expected identifier, keyword, or string at column 13 in [bsPane title: 'Summary'] in DiDemo@3:9 (\"\r\n    Demo:\r\n    <div *bsPane=\"title: 'Overview'\"></div>\r\n    <div [ERROR ->]*bsPane=\"title: 'Summary'\"></div>\"): DiDemo@3:9\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/164651221","html_url":"https://github.com/angular/angular/issues/5894#issuecomment-164651221","issue_url":"https://api.github.com/repos/angular/angular/issues/5894","id":164651221,"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-12-15T05:53:13Z","updated_at":"2015-12-15T05:53:13Z","body":"Actually `<div *bsPane=\"title exp\"></div>` desugars to `<div template='bsPane: title exp'>`.\r\n\r\nThe error seems legit."}}