{"action":"created","comment":{"url":"https://api.github.com/repos/hanoiiot/hanoi/pulls/comments/68145726","id":68145726,"diff_hunk":"@@ -0,0 +1,28 @@\n+import { Component, Host } from '@angular/core';\n+import { NgFormModel } from '@angular/common';\n+import { ValidationService } from '../services/validation';\n+\n+@Component({\n+  selector: 'control-messages',\n+  inputs: ['controlName: control'],\n+  template: `<div *ngIf=\"errorMessage !== null\">{{errorMessage}}</div>`\n+})\n+export class ControlMessages {\n+  controlName: string;\n+  constructor( @Host() private _formDir: NgFormModel) { }\n+\n+  get errorMessage() {\n+    // Find the control in the Host (Parent) form\n+    let c = this._formDir.form.find(this.controlName);","path":"app/components/control-messages.ts","position":16,"original_position":16,"commit_id":"688a3a3c5735cdccdfa109aa475d0a8b26b3767f","original_commit_id":"688a3a3c5735cdccdfa109aa475d0a8b26b3767f","user":{"login":"rivertam","id":4165105,"avatar_url":"https://avatars.githubusercontent.com/u/4165105?v=3","gravatar_id":"","url":"https://api.github.com/users/rivertam","html_url":"https://github.com/rivertam","followers_url":"https://api.github.com/users/rivertam/followers","following_url":"https://api.github.com/users/rivertam/following{/other_user}","gists_url":"https://api.github.com/users/rivertam/gists{/gist_id}","starred_url":"https://api.github.com/users/rivertam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rivertam/subscriptions","organizations_url":"https://api.github.com/users/rivertam/orgs","repos_url":"https://api.github.com/users/rivertam/repos","events_url":"https://api.github.com/users/rivertam/events{/privacy}","received_events_url":"https://api.github.com/users/rivertam/received_events","type":"User","site_admin":false},"body":":^)","created_at":"2016-06-22T22:17:04Z","updated_at":"2016-06-22T22:17:04Z","html_url":"https://github.com/hanoiiot/hanoi/pull/1#discussion_r68145726","pull_request_url":"https://api.github.com/repos/hanoiiot/hanoi/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/hanoiiot/hanoi/pulls/comments/68145726"},"html":{"href":"https://github.com/hanoiiot/hanoi/pull/1#discussion_r68145726"},"pull_request":{"href":"https://api.github.com/repos/hanoiiot/hanoi/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/hanoiiot/hanoi/pulls/1","id":74332859,"html_url":"https://github.com/hanoiiot/hanoi/pull/1","diff_url":"https://github.com/hanoiiot/hanoi/pull/1.diff","patch_url":"https://github.com/hanoiiot/hanoi/pull/1.patch","issue_url":"https://api.github.com/repos/hanoiiot/hanoi/issues/1","number":1,"state":"open","locked":false,"title":"authentication - facebook and traditional login and signup and account","user":{"login":"peta15","id":1825106,"avatar_url":"https://avatars.githubusercontent.com/u/1825106?v=3","gravatar_id":"","url":"https://api.github.com/users/peta15","html_url":"https://github.com/peta15","followers_url":"https://api.github.com/users/peta15/followers","following_url":"https://api.github.com/users/peta15/following{/other_user}","gists_url":"https://api.github.com/users/peta15/gists{/gist_id}","starred_url":"https://api.github.com/users/peta15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peta15/subscriptions","organizations_url":"https://api.github.com/users/peta15/orgs","repos_url":"https://api.github.com/users/peta15/repos","events_url":"https://api.github.com/users/peta15/events{/privacy}","received_events_url":"https://api.github.com/users/peta15/received_events","type":"User","site_admin":false},"body":"management","created_at":"2016-06-18T09:36:49Z","updated_at":"2016-06-22T22:17:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6afb194148a381a7a8fff0e197e19ac77faa6aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hanoiiot/hanoi/pulls/1/commits","review_comments_url":"https://api.github.com/repos/hanoiiot/hanoi/pulls/1/comments","review_comment_url":"https://api.github.com/repos/hanoiiot/hanoi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hanoiiot/hanoi/issues/1/comments","statuses_url":"https://api.github.com/repos/hanoiiot/hanoi/statuses/688a3a3c5735cdccdfa109aa475d0a8b26b3767f","head":{"label":"hanoiiot:login","ref":"login","sha":"688a3a3c5735cdccdfa109aa475d0a8b26b3767f","user":{"login":"hanoiiot","id":19484525,"avatar_url":"https://avatars.githubusercontent.com/u/19484525?v=3","gravatar_id":"","url":"https://api.github.com/users/hanoiiot","html_url":"https://github.com/hanoiiot","followers_url":"https://api.github.com/users/hanoiiot/followers","following_url":"https://api.github.com/users/hanoiiot/following{/other_user}","gists_url":"https://api.github.com/users/hanoiiot/gists{/gist_id}","starred_url":"https://api.github.com/users/hanoiiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanoiiot/subscriptions","organizations_url":"https://api.github.com/users/hanoiiot/orgs","repos_url":"https://api.github.com/users/hanoiiot/repos","events_url":"https://api.github.com/users/hanoiiot/events{/privacy}","received_events_url":"https://api.github.com/users/hanoiiot/received_events","type":"Organization","site_admin":false},"repo":{"id":56813295,"name":"hanoi","full_name":"hanoiiot/hanoi","owner":{"login":"hanoiiot","id":19484525,"avatar_url":"https://avatars.githubusercontent.com/u/19484525?v=3","gravatar_id":"","url":"https://api.github.com/users/hanoiiot","html_url":"https://github.com/hanoiiot","followers_url":"https://api.github.com/users/hanoiiot/followers","following_url":"https://api.github.com/users/hanoiiot/following{/other_user}","gists_url":"https://api.github.com/users/hanoiiot/gists{/gist_id}","starred_url":"https://api.github.com/users/hanoiiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanoiiot/subscriptions","organizations_url":"https://api.github.com/users/hanoiiot/orgs","repos_url":"https://api.github.com/users/hanoiiot/repos","events_url":"https://api.github.com/users/hanoiiot/events{/privacy}","received_events_url":"https://api.github.com/users/hanoiiot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hanoiiot/hanoi","description":"IoT","fork":false,"url":"https://api.github.com/repos/hanoiiot/hanoi","forks_url":"https://api.github.com/repos/hanoiiot/hanoi/forks","keys_url":"https://api.github.com/repos/hanoiiot/hanoi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hanoiiot/hanoi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hanoiiot/hanoi/teams","hooks_url":"https://api.github.com/repos/hanoiiot/hanoi/hooks","issue_events_url":"https://api.github.com/repos/hanoiiot/hanoi/issues/events{/number}","events_url":"https://api.github.com/repos/hanoiiot/hanoi/events","assignees_url":"https://api.github.com/repos/hanoiiot/hanoi/assignees{/user}","branches_url":"https://api.github.com/repos/hanoiiot/hanoi/branches{/branch}","tags_url":"https://api.github.com/repos/hanoiiot/hanoi/tags","blobs_url":"https://api.github.com/repos/hanoiiot/hanoi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hanoiiot/hanoi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hanoiiot/hanoi/git/refs{/sha}","trees_url":"https://api.github.com/repos/hanoiiot/hanoi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hanoiiot/hanoi/statuses/{sha}","languages_url":"https://api.github.com/repos/hanoiiot/hanoi/languages","stargazers_url":"https://api.github.com/repos/hanoiiot/hanoi/stargazers","contributors_url":"https://api.github.com/repos/hanoiiot/hanoi/contributors","subscribers_url":"https://api.github.com/repos/hanoiiot/hanoi/subscribers","subscription_url":"https://api.github.com/repos/hanoiiot/hanoi/subscription","commits_url":"https://api.github.com/repos/hanoiiot/hanoi/commits{/sha}","git_commits_url":"https://api.github.com/repos/hanoiiot/hanoi/git/commits{/sha}","comments_url":"https://api.github.com/repos/hanoiiot/hanoi/comments{/number}","issue_comment_url":"https://api.github.com/repos/hanoiiot/hanoi/issues/comments{/number}","contents_url":"https://api.github.com/repos/hanoiiot/hanoi/contents/{+path}","compare_url":"https://api.github.com/repos/hanoiiot/hanoi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hanoiiot/hanoi/merges","archive_url":"https://api.github.com/repos/hanoiiot/hanoi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hanoiiot/hanoi/downloads","issues_url":"https://api.github.com/repos/hanoiiot/hanoi/issues{/number}","pulls_url":"https://api.github.com/repos/hanoiiot/hanoi/pulls{/number}","milestones_url":"https://api.github.com/repos/hanoiiot/hanoi/milestones{/number}","notifications_url":"https://api.github.com/repos/hanoiiot/hanoi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hanoiiot/hanoi/labels{/name}","releases_url":"https://api.github.com/repos/hanoiiot/hanoi/releases{/id}","deployments_url":"https://api.github.com/repos/hanoiiot/hanoi/deployments","created_at":"2016-04-22T00:10:38Z","updated_at":"2016-06-19T22:39:17Z","pushed_at":"2016-06-22T08:23:48Z","git_url":"git://github.com/hanoiiot/hanoi.git","ssh_url":"git@github.com:hanoiiot/hanoi.git","clone_url":"https://github.com/hanoiiot/hanoi.git","svn_url":"https://github.com/hanoiiot/hanoi","homepage":null,"size":2140,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"hanoiiot:master","ref":"master","sha":"6fc887cc05e0de1f6a2d25e83d5bdfc5fc351ed1","user":{"login":"hanoiiot","id":19484525,"avatar_url":"https://avatars.githubusercontent.com/u/19484525?v=3","gravatar_id":"","url":"https://api.github.com/users/hanoiiot","html_url":"https://github.com/hanoiiot","followers_url":"https://api.github.com/users/hanoiiot/followers","following_url":"https://api.github.com/users/hanoiiot/following{/other_user}","gists_url":"https://api.github.com/users/hanoiiot/gists{/gist_id}","starred_url":"https://api.github.com/users/hanoiiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanoiiot/subscriptions","organizations_url":"https://api.github.com/users/hanoiiot/orgs","repos_url":"https://api.github.com/users/hanoiiot/repos","events_url":"https://api.github.com/users/hanoiiot/events{/privacy}","received_events_url":"https://api.github.com/users/hanoiiot/received_events","type":"Organization","site_admin":false},"repo":{"id":56813295,"name":"hanoi","full_name":"hanoiiot/hanoi","owner":{"login":"hanoiiot","id":19484525,"avatar_url":"https://avatars.githubusercontent.com/u/19484525?v=3","gravatar_id":"","url":"https://api.github.com/users/hanoiiot","html_url":"https://github.com/hanoiiot","followers_url":"https://api.github.com/users/hanoiiot/followers","following_url":"https://api.github.com/users/hanoiiot/following{/other_user}","gists_url":"https://api.github.com/users/hanoiiot/gists{/gist_id}","starred_url":"https://api.github.com/users/hanoiiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanoiiot/subscriptions","organizations_url":"https://api.github.com/users/hanoiiot/orgs","repos_url":"https://api.github.com/users/hanoiiot/repos","events_url":"https://api.github.com/users/hanoiiot/events{/privacy}","received_events_url":"https://api.github.com/users/hanoiiot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hanoiiot/hanoi","description":"IoT","fork":false,"url":"https://api.github.com/repos/hanoiiot/hanoi","forks_url":"https://api.github.com/repos/hanoiiot/hanoi/forks","keys_url":"https://api.github.com/repos/hanoiiot/hanoi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hanoiiot/hanoi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hanoiiot/hanoi/teams","hooks_url":"https://api.github.com/repos/hanoiiot/hanoi/hooks","issue_events_url":"https://api.github.com/repos/hanoiiot/hanoi/issues/events{/number}","events_url":"https://api.github.com/repos/hanoiiot/hanoi/events","assignees_url":"https://api.github.com/repos/hanoiiot/hanoi/assignees{/user}","branches_url":"https://api.github.com/repos/hanoiiot/hanoi/branches{/branch}","tags_url":"https://api.github.com/repos/hanoiiot/hanoi/tags","blobs_url":"https://api.github.com/repos/hanoiiot/hanoi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hanoiiot/hanoi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hanoiiot/hanoi/git/refs{/sha}","trees_url":"https://api.github.com/repos/hanoiiot/hanoi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hanoiiot/hanoi/statuses/{sha}","languages_url":"https://api.github.com/repos/hanoiiot/hanoi/languages","stargazers_url":"https://api.github.com/repos/hanoiiot/hanoi/stargazers","contributors_url":"https://api.github.com/repos/hanoiiot/hanoi/contributors","subscribers_url":"https://api.github.com/repos/hanoiiot/hanoi/subscribers","subscription_url":"https://api.github.com/repos/hanoiiot/hanoi/subscription","commits_url":"https://api.github.com/repos/hanoiiot/hanoi/commits{/sha}","git_commits_url":"https://api.github.com/repos/hanoiiot/hanoi/git/commits{/sha}","comments_url":"https://api.github.com/repos/hanoiiot/hanoi/comments{/number}","issue_comment_url":"https://api.github.com/repos/hanoiiot/hanoi/issues/comments{/number}","contents_url":"https://api.github.com/repos/hanoiiot/hanoi/contents/{+path}","compare_url":"https://api.github.com/repos/hanoiiot/hanoi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hanoiiot/hanoi/merges","archive_url":"https://api.github.com/repos/hanoiiot/hanoi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hanoiiot/hanoi/downloads","issues_url":"https://api.github.com/repos/hanoiiot/hanoi/issues{/number}","pulls_url":"https://api.github.com/repos/hanoiiot/hanoi/pulls{/number}","milestones_url":"https://api.github.com/repos/hanoiiot/hanoi/milestones{/number}","notifications_url":"https://api.github.com/repos/hanoiiot/hanoi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hanoiiot/hanoi/labels{/name}","releases_url":"https://api.github.com/repos/hanoiiot/hanoi/releases{/id}","deployments_url":"https://api.github.com/repos/hanoiiot/hanoi/deployments","created_at":"2016-04-22T00:10:38Z","updated_at":"2016-06-19T22:39:17Z","pushed_at":"2016-06-22T08:23:48Z","git_url":"git://github.com/hanoiiot/hanoi.git","ssh_url":"git@github.com:hanoiiot/hanoi.git","clone_url":"https://github.com/hanoiiot/hanoi.git","svn_url":"https://github.com/hanoiiot/hanoi","homepage":null,"size":2140,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hanoiiot/hanoi/pulls/1"},"html":{"href":"https://github.com/hanoiiot/hanoi/pull/1"},"issue":{"href":"https://api.github.com/repos/hanoiiot/hanoi/issues/1"},"comments":{"href":"https://api.github.com/repos/hanoiiot/hanoi/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/hanoiiot/hanoi/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/hanoiiot/hanoi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hanoiiot/hanoi/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/hanoiiot/hanoi/statuses/688a3a3c5735cdccdfa109aa475d0a8b26b3767f"}}}}
{"actor":{"display_login":"rivertam"}}