{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular/pulls/comments/32875971","id":32875971,"diff_hunk":"@@ -1207,6 +1191,30 @@ export function main() {\n          });\n        }));\n \n+    describe('Missing property bindings', () => {\n+      it('should throw on bindings to unknown properties',\n+         inject([TestBed, AsyncTestCompleter], (tb: TestBed, async) => {\n+           tb.overrideView(MyComp,\n+                           new viewAnn.View({template: '<div unknown=\"{{ctxProp}}\"></div>'}));\n+\n+           PromiseWrapper.catchError(tb.createView(MyComp, {context: ctx}), (e) => {\n+             expect(e.message).toEqual(\n+                 `Can't bind to 'unknown' since it isn't a know property of the 'div' element`);","path":"modules/angular2/test/core/compiler/integration_spec.ts","position":68,"original_position":68,"commit_id":"69cbb0f689195d69b0fa6f84b3331d9da7a25185","original_commit_id":"69cbb0f689195d69b0fa6f84b3331d9da7a25185","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},"body":"change error to include:\r\n\r\nCan't bind to 'unknown' since it isn't a know property of the 'div' element, and there are no directives present which can accept that value.\r\n\r\nOr something like that.","created_at":"2015-06-19T22:50:41Z","updated_at":"2015-06-19T22:50:41Z","html_url":"https://github.com/angular/angular/pull/2598#discussion_r32875971","pull_request_url":"https://api.github.com/repos/angular/angular/pulls/2598","_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/comments/32875971"},"html":{"href":"https://github.com/angular/angular/pull/2598#discussion_r32875971"},"pull_request":{"href":"https://api.github.com/repos/angular/angular/pulls/2598"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/2598","id":37943721,"html_url":"https://github.com/angular/angular/pull/2598","diff_url":"https://github.com/angular/angular/pull/2598.diff","patch_url":"https://github.com/angular/angular/pull/2598.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/2598","number":2598,"state":"open","locked":false,"title":"feat(compiler): detect dangling property bindings","user":{"login":"pkozlowski-opensource","id":973550,"avatar_url":"https://avatars.githubusercontent.com/u/973550?v=3","gravatar_id":"","url":"https://api.github.com/users/pkozlowski-opensource","html_url":"https://github.com/pkozlowski-opensource","followers_url":"https://api.github.com/users/pkozlowski-opensource/followers","following_url":"https://api.github.com/users/pkozlowski-opensource/following{/other_user}","gists_url":"https://api.github.com/users/pkozlowski-opensource/gists{/gist_id}","starred_url":"https://api.github.com/users/pkozlowski-opensource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkozlowski-opensource/subscriptions","organizations_url":"https://api.github.com/users/pkozlowski-opensource/orgs","repos_url":"https://api.github.com/users/pkozlowski-opensource/repos","events_url":"https://api.github.com/users/pkozlowski-opensource/events{/privacy}","received_events_url":"https://api.github.com/users/pkozlowski-opensource/received_events","type":"User","site_admin":false},"body":"BREAKING CHANGE: compiler will throw on binding to non-existing properties.\r\n\r\nTill now it was possible to have a binding to a non-existing property,\r\nex.: `<div [foo]=\"exp\">`. From now on this is compilation error - any\r\nproperty binding needs to have at least one associated property:\r\neaither on an HTML element or on any directive associated with a\r\ngiven element (directives' properites need to be declared using the\r\n`properties` field in the `@Directive` / `@Component` annotation).","created_at":"2015-06-17T20:35:34Z","updated_at":"2015-06-19T22:50:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6655f7092a9905ed87cec982ed11531cf437321e","assignee":{"login":"tbosch","id":690815,"avatar_url":"https://avatars.githubusercontent.com/u/690815?v=3","gravatar_id":"","url":"https://api.github.com/users/tbosch","html_url":"https://github.com/tbosch","followers_url":"https://api.github.com/users/tbosch/followers","following_url":"https://api.github.com/users/tbosch/following{/other_user}","gists_url":"https://api.github.com/users/tbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/tbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbosch/subscriptions","organizations_url":"https://api.github.com/users/tbosch/orgs","repos_url":"https://api.github.com/users/tbosch/repos","events_url":"https://api.github.com/users/tbosch/events{/privacy}","received_events_url":"https://api.github.com/users/tbosch/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/36","html_url":"https://github.com/angular/angular/milestones/alpha-28","labels_url":"https://api.github.com/repos/angular/angular/milestones/36/labels","id":1140762,"number":36,"title":"alpha-28","description":"Closing milestone. Work on all issues to complete by Monday June 22 @ 8am PT; sync internal/external by 24th. Yegor will be merging this into Google.","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":32,"closed_issues":35,"state":"open","created_at":"2015-05-29T21:53:22Z","updated_at":"2015-06-19T21:46:06Z","due_on":"2015-06-22T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/angular/angular/pulls/2598/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/2598/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/2598/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/69cbb0f689195d69b0fa6f84b3331d9da7a25185","head":{"label":"pkozlowski-opensource:danglig_prop_bindings","ref":"danglig_prop_bindings","sha":"69cbb0f689195d69b0fa6f84b3331d9da7a25185","user":{"login":"pkozlowski-opensource","id":973550,"avatar_url":"https://avatars.githubusercontent.com/u/973550?v=3","gravatar_id":"","url":"https://api.github.com/users/pkozlowski-opensource","html_url":"https://github.com/pkozlowski-opensource","followers_url":"https://api.github.com/users/pkozlowski-opensource/followers","following_url":"https://api.github.com/users/pkozlowski-opensource/following{/other_user}","gists_url":"https://api.github.com/users/pkozlowski-opensource/gists{/gist_id}","starred_url":"https://api.github.com/users/pkozlowski-opensource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkozlowski-opensource/subscriptions","organizations_url":"https://api.github.com/users/pkozlowski-opensource/orgs","repos_url":"https://api.github.com/users/pkozlowski-opensource/repos","events_url":"https://api.github.com/users/pkozlowski-opensource/events{/privacy}","received_events_url":"https://api.github.com/users/pkozlowski-opensource/received_events","type":"User","site_admin":false},"repo":{"id":28565710,"name":"angular","full_name":"pkozlowski-opensource/angular","owner":{"login":"pkozlowski-opensource","id":973550,"avatar_url":"https://avatars.githubusercontent.com/u/973550?v=3","gravatar_id":"","url":"https://api.github.com/users/pkozlowski-opensource","html_url":"https://github.com/pkozlowski-opensource","followers_url":"https://api.github.com/users/pkozlowski-opensource/followers","following_url":"https://api.github.com/users/pkozlowski-opensource/following{/other_user}","gists_url":"https://api.github.com/users/pkozlowski-opensource/gists{/gist_id}","starred_url":"https://api.github.com/users/pkozlowski-opensource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkozlowski-opensource/subscriptions","organizations_url":"https://api.github.com/users/pkozlowski-opensource/orgs","repos_url":"https://api.github.com/users/pkozlowski-opensource/repos","events_url":"https://api.github.com/users/pkozlowski-opensource/events{/privacy}","received_events_url":"https://api.github.com/users/pkozlowski-opensource/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pkozlowski-opensource/angular","description":"","fork":true,"url":"https://api.github.com/repos/pkozlowski-opensource/angular","forks_url":"https://api.github.com/repos/pkozlowski-opensource/angular/forks","keys_url":"https://api.github.com/repos/pkozlowski-opensource/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkozlowski-opensource/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkozlowski-opensource/angular/teams","hooks_url":"https://api.github.com/repos/pkozlowski-opensource/angular/hooks","issue_events_url":"https://api.github.com/repos/pkozlowski-opensource/angular/issues/events{/number}","events_url":"https://api.github.com/repos/pkozlowski-opensource/angular/events","assignees_url":"https://api.github.com/repos/pkozlowski-opensource/angular/assignees{/user}","branches_url":"https://api.github.com/repos/pkozlowski-opensource/angular/branches{/branch}","tags_url":"https://api.github.com/repos/pkozlowski-opensource/angular/tags","blobs_url":"https://api.github.com/repos/pkozlowski-opensource/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkozlowski-opensource/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkozlowski-opensource/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkozlowski-opensource/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkozlowski-opensource/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/pkozlowski-opensource/angular/languages","stargazers_url":"https://api.github.com/repos/pkozlowski-opensource/angular/stargazers","contributors_url":"https://api.github.com/repos/pkozlowski-opensource/angular/contributors","subscribers_url":"https://api.github.com/repos/pkozlowski-opensource/angular/subscribers","subscription_url":"https://api.github.com/repos/pkozlowski-opensource/angular/subscription","commits_url":"https://api.github.com/repos/pkozlowski-opensource/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkozlowski-opensource/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkozlowski-opensource/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkozlowski-opensource/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/pkozlowski-opensource/angular/contents/{+path}","compare_url":"https://api.github.com/repos/pkozlowski-opensource/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkozlowski-opensource/angular/merges","archive_url":"https://api.github.com/repos/pkozlowski-opensource/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkozlowski-opensource/angular/downloads","issues_url":"https://api.github.com/repos/pkozlowski-opensource/angular/issues{/number}","pulls_url":"https://api.github.com/repos/pkozlowski-opensource/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/pkozlowski-opensource/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/pkozlowski-opensource/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkozlowski-opensource/angular/labels{/name}","releases_url":"https://api.github.com/repos/pkozlowski-opensource/angular/releases{/id}","created_at":"2014-12-28T16:05:25Z","updated_at":"2015-06-16T12:14:56Z","pushed_at":"2015-06-19T21:44:12Z","git_url":"git://github.com/pkozlowski-opensource/angular.git","ssh_url":"git@github.com:pkozlowski-opensource/angular.git","clone_url":"https://github.com/pkozlowski-opensource/angular.git","svn_url":"https://github.com/pkozlowski-opensource/angular","homepage":null,"size":9605,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"b8ef20e353509b1fcd8f41481dc7658283718c6d","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","created_at":"2014-09-18T16:12:01Z","updated_at":"2015-06-19T21:29:26Z","pushed_at":"2015-06-19T22:47:28Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":null,"size":30761,"stargazers_count":3733,"watchers_count":3733,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":943,"mirror_url":null,"open_issues_count":322,"forks":943,"open_issues":322,"watchers":3733,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/2598"},"html":{"href":"https://github.com/angular/angular/pull/2598"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/2598"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/2598/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/2598/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/2598/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/69cbb0f689195d69b0fa6f84b3331d9da7a25185"}}}}