{"action":"created","comment":{"url":"https://api.github.com/repos/rangle/ngCourse2/pulls/comments/54469146","id":54469146,"diff_hunk":"@@ -0,0 +1,45 @@\n+import {Component, Input, Output, EventEmitter} from 'angular2/core';\n+import {Router} from 'angular2/router';\n+import {\n+  FORM_BINDINGS,\n+  FORM_DIRECTIVES,\n+  ControlGroup,\n+  FormBuilder,\n+  Validators\n+} from 'angular2/common';\n+import AuthService from '../../services/auth-service';\n+const TEMPLATE = require('./login-form.html');\n+\n+declare interface ILoginRequest {\n+  username: string,\n+  password: string\n+};\n+\n+@Component({\n+  selector: 'login-form',\n+  directives: [FORM_DIRECTIVES],\n+  viewBindings: [FORM_BINDINGS],\n+  template: TEMPLATE\n+})\n+export default class LoginForm {\n+\n+  @Input() message: string = '';","path":"app/src/components/login-form/login-form.ts","position":26,"original_position":26,"commit_id":"102c7f86d7ca5e7b597b73f13c8eae7f970451dc","original_commit_id":"102c7f86d7ca5e7b597b73f13c8eae7f970451dc","user":{"login":"winkerVSbecks","id":42671,"avatar_url":"https://avatars.githubusercontent.com/u/42671?v=3","gravatar_id":"","url":"https://api.github.com/users/winkerVSbecks","html_url":"https://github.com/winkerVSbecks","followers_url":"https://api.github.com/users/winkerVSbecks/followers","following_url":"https://api.github.com/users/winkerVSbecks/following{/other_user}","gists_url":"https://api.github.com/users/winkerVSbecks/gists{/gist_id}","starred_url":"https://api.github.com/users/winkerVSbecks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winkerVSbecks/subscriptions","organizations_url":"https://api.github.com/users/winkerVSbecks/orgs","repos_url":"https://api.github.com/users/winkerVSbecks/repos","events_url":"https://api.github.com/users/winkerVSbecks/events{/privacy}","received_events_url":"https://api.github.com/users/winkerVSbecks/received_events","type":"User","site_admin":false},"body":"@e-schultz should we switch to `inputs` and `outputs` everywhere? ","created_at":"2016-02-29T20:07:44Z","updated_at":"2016-02-29T20:07:44Z","html_url":"https://github.com/rangle/ngCourse2/pull/123#discussion_r54469146","pull_request_url":"https://api.github.com/repos/rangle/ngCourse2/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/rangle/ngCourse2/pulls/comments/54469146"},"html":{"href":"https://github.com/rangle/ngCourse2/pull/123#discussion_r54469146"},"pull_request":{"href":"https://api.github.com/repos/rangle/ngCourse2/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/rangle/ngCourse2/pulls/123","id":61136013,"html_url":"https://github.com/rangle/ngCourse2/pull/123","diff_url":"https://github.com/rangle/ngCourse2/pull/123.diff","patch_url":"https://github.com/rangle/ngCourse2/pull/123.patch","issue_url":"https://api.github.com/repos/rangle/ngCourse2/issues/123","number":123,"state":"open","locked":false,"title":"Refactoring Login Component","user":{"login":"e-schultz","id":3045906,"avatar_url":"https://avatars.githubusercontent.com/u/3045906?v=3","gravatar_id":"","url":"https://api.github.com/users/e-schultz","html_url":"https://github.com/e-schultz","followers_url":"https://api.github.com/users/e-schultz/followers","following_url":"https://api.github.com/users/e-schultz/following{/other_user}","gists_url":"https://api.github.com/users/e-schultz/gists{/gist_id}","starred_url":"https://api.github.com/users/e-schultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-schultz/subscriptions","organizations_url":"https://api.github.com/users/e-schultz/orgs","repos_url":"https://api.github.com/users/e-schultz/repos","events_url":"https://api.github.com/users/e-schultz/events{/privacy}","received_events_url":"https://api.github.com/users/e-schultz/received_events","type":"User","site_admin":false},"body":"* Create form that just renders the login form\r\n* Create container to handle login control flow\r\n\r\n@winkerVSbecks or @bennett000 for review ","created_at":"2016-02-29T20:05:52Z","updated_at":"2016-02-29T20:07:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18421b8cad1424137d5e32a541d33c8c73737dcd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rangle/ngCourse2/pulls/123/commits","review_comments_url":"https://api.github.com/repos/rangle/ngCourse2/pulls/123/comments","review_comment_url":"https://api.github.com/repos/rangle/ngCourse2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rangle/ngCourse2/issues/123/comments","statuses_url":"https://api.github.com/repos/rangle/ngCourse2/statuses/102c7f86d7ca5e7b597b73f13c8eae7f970451dc","head":{"label":"e-schultz:chore-refactor-login","ref":"chore-refactor-login","sha":"102c7f86d7ca5e7b597b73f13c8eae7f970451dc","user":{"login":"e-schultz","id":3045906,"avatar_url":"https://avatars.githubusercontent.com/u/3045906?v=3","gravatar_id":"","url":"https://api.github.com/users/e-schultz","html_url":"https://github.com/e-schultz","followers_url":"https://api.github.com/users/e-schultz/followers","following_url":"https://api.github.com/users/e-schultz/following{/other_user}","gists_url":"https://api.github.com/users/e-schultz/gists{/gist_id}","starred_url":"https://api.github.com/users/e-schultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-schultz/subscriptions","organizations_url":"https://api.github.com/users/e-schultz/orgs","repos_url":"https://api.github.com/users/e-schultz/repos","events_url":"https://api.github.com/users/e-schultz/events{/privacy}","received_events_url":"https://api.github.com/users/e-schultz/received_events","type":"User","site_admin":false},"repo":{"id":50597155,"name":"ngCourse2","full_name":"e-schultz/ngCourse2","owner":{"login":"e-schultz","id":3045906,"avatar_url":"https://avatars.githubusercontent.com/u/3045906?v=3","gravatar_id":"","url":"https://api.github.com/users/e-schultz","html_url":"https://github.com/e-schultz","followers_url":"https://api.github.com/users/e-schultz/followers","following_url":"https://api.github.com/users/e-schultz/following{/other_user}","gists_url":"https://api.github.com/users/e-schultz/gists{/gist_id}","starred_url":"https://api.github.com/users/e-schultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-schultz/subscriptions","organizations_url":"https://api.github.com/users/e-schultz/orgs","repos_url":"https://api.github.com/users/e-schultz/repos","events_url":"https://api.github.com/users/e-schultz/events{/privacy}","received_events_url":"https://api.github.com/users/e-schultz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/e-schultz/ngCourse2","description":"An AngularJS Course from Rangle.io","fork":true,"url":"https://api.github.com/repos/e-schultz/ngCourse2","forks_url":"https://api.github.com/repos/e-schultz/ngCourse2/forks","keys_url":"https://api.github.com/repos/e-schultz/ngCourse2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/e-schultz/ngCourse2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/e-schultz/ngCourse2/teams","hooks_url":"https://api.github.com/repos/e-schultz/ngCourse2/hooks","issue_events_url":"https://api.github.com/repos/e-schultz/ngCourse2/issues/events{/number}","events_url":"https://api.github.com/repos/e-schultz/ngCourse2/events","assignees_url":"https://api.github.com/repos/e-schultz/ngCourse2/assignees{/user}","branches_url":"https://api.github.com/repos/e-schultz/ngCourse2/branches{/branch}","tags_url":"https://api.github.com/repos/e-schultz/ngCourse2/tags","blobs_url":"https://api.github.com/repos/e-schultz/ngCourse2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/e-schultz/ngCourse2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/e-schultz/ngCourse2/git/refs{/sha}","trees_url":"https://api.github.com/repos/e-schultz/ngCourse2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/e-schultz/ngCourse2/statuses/{sha}","languages_url":"https://api.github.com/repos/e-schultz/ngCourse2/languages","stargazers_url":"https://api.github.com/repos/e-schultz/ngCourse2/stargazers","contributors_url":"https://api.github.com/repos/e-schultz/ngCourse2/contributors","subscribers_url":"https://api.github.com/repos/e-schultz/ngCourse2/subscribers","subscription_url":"https://api.github.com/repos/e-schultz/ngCourse2/subscription","commits_url":"https://api.github.com/repos/e-schultz/ngCourse2/commits{/sha}","git_commits_url":"https://api.github.com/repos/e-schultz/ngCourse2/git/commits{/sha}","comments_url":"https://api.github.com/repos/e-schultz/ngCourse2/comments{/number}","issue_comment_url":"https://api.github.com/repos/e-schultz/ngCourse2/issues/comments{/number}","contents_url":"https://api.github.com/repos/e-schultz/ngCourse2/contents/{+path}","compare_url":"https://api.github.com/repos/e-schultz/ngCourse2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/e-schultz/ngCourse2/merges","archive_url":"https://api.github.com/repos/e-schultz/ngCourse2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/e-schultz/ngCourse2/downloads","issues_url":"https://api.github.com/repos/e-schultz/ngCourse2/issues{/number}","pulls_url":"https://api.github.com/repos/e-schultz/ngCourse2/pulls{/number}","milestones_url":"https://api.github.com/repos/e-schultz/ngCourse2/milestones{/number}","notifications_url":"https://api.github.com/repos/e-schultz/ngCourse2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/e-schultz/ngCourse2/labels{/name}","releases_url":"https://api.github.com/repos/e-schultz/ngCourse2/releases{/id}","deployments_url":"https://api.github.com/repos/e-schultz/ngCourse2/deployments","created_at":"2016-01-28T16:38:18Z","updated_at":"2016-01-28T16:38:19Z","pushed_at":"2016-02-29T20:07:35Z","git_url":"git://github.com/e-schultz/ngCourse2.git","ssh_url":"git@github.com:e-schultz/ngCourse2.git","clone_url":"https://github.com/e-schultz/ngCourse2.git","svn_url":"https://github.com/e-schultz/ngCourse2","homepage":null,"size":3247,"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":"rangle:redux-refactor","ref":"redux-refactor","sha":"cfdc114ba3436dcc0480beac40aac5c8ca1fafdc","user":{"login":"rangle","id":4304982,"avatar_url":"https://avatars.githubusercontent.com/u/4304982?v=3","gravatar_id":"","url":"https://api.github.com/users/rangle","html_url":"https://github.com/rangle","followers_url":"https://api.github.com/users/rangle/followers","following_url":"https://api.github.com/users/rangle/following{/other_user}","gists_url":"https://api.github.com/users/rangle/gists{/gist_id}","starred_url":"https://api.github.com/users/rangle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangle/subscriptions","organizations_url":"https://api.github.com/users/rangle/orgs","repos_url":"https://api.github.com/users/rangle/repos","events_url":"https://api.github.com/users/rangle/events{/privacy}","received_events_url":"https://api.github.com/users/rangle/received_events","type":"Organization","site_admin":false},"repo":{"id":49283479,"name":"ngCourse2","full_name":"rangle/ngCourse2","owner":{"login":"rangle","id":4304982,"avatar_url":"https://avatars.githubusercontent.com/u/4304982?v=3","gravatar_id":"","url":"https://api.github.com/users/rangle","html_url":"https://github.com/rangle","followers_url":"https://api.github.com/users/rangle/followers","following_url":"https://api.github.com/users/rangle/following{/other_user}","gists_url":"https://api.github.com/users/rangle/gists{/gist_id}","starred_url":"https://api.github.com/users/rangle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangle/subscriptions","organizations_url":"https://api.github.com/users/rangle/orgs","repos_url":"https://api.github.com/users/rangle/repos","events_url":"https://api.github.com/users/rangle/events{/privacy}","received_events_url":"https://api.github.com/users/rangle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rangle/ngCourse2","description":"An AngularJS Course from Rangle.io","fork":false,"url":"https://api.github.com/repos/rangle/ngCourse2","forks_url":"https://api.github.com/repos/rangle/ngCourse2/forks","keys_url":"https://api.github.com/repos/rangle/ngCourse2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rangle/ngCourse2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rangle/ngCourse2/teams","hooks_url":"https://api.github.com/repos/rangle/ngCourse2/hooks","issue_events_url":"https://api.github.com/repos/rangle/ngCourse2/issues/events{/number}","events_url":"https://api.github.com/repos/rangle/ngCourse2/events","assignees_url":"https://api.github.com/repos/rangle/ngCourse2/assignees{/user}","branches_url":"https://api.github.com/repos/rangle/ngCourse2/branches{/branch}","tags_url":"https://api.github.com/repos/rangle/ngCourse2/tags","blobs_url":"https://api.github.com/repos/rangle/ngCourse2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rangle/ngCourse2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rangle/ngCourse2/git/refs{/sha}","trees_url":"https://api.github.com/repos/rangle/ngCourse2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rangle/ngCourse2/statuses/{sha}","languages_url":"https://api.github.com/repos/rangle/ngCourse2/languages","stargazers_url":"https://api.github.com/repos/rangle/ngCourse2/stargazers","contributors_url":"https://api.github.com/repos/rangle/ngCourse2/contributors","subscribers_url":"https://api.github.com/repos/rangle/ngCourse2/subscribers","subscription_url":"https://api.github.com/repos/rangle/ngCourse2/subscription","commits_url":"https://api.github.com/repos/rangle/ngCourse2/commits{/sha}","git_commits_url":"https://api.github.com/repos/rangle/ngCourse2/git/commits{/sha}","comments_url":"https://api.github.com/repos/rangle/ngCourse2/comments{/number}","issue_comment_url":"https://api.github.com/repos/rangle/ngCourse2/issues/comments{/number}","contents_url":"https://api.github.com/repos/rangle/ngCourse2/contents/{+path}","compare_url":"https://api.github.com/repos/rangle/ngCourse2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rangle/ngCourse2/merges","archive_url":"https://api.github.com/repos/rangle/ngCourse2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rangle/ngCourse2/downloads","issues_url":"https://api.github.com/repos/rangle/ngCourse2/issues{/number}","pulls_url":"https://api.github.com/repos/rangle/ngCourse2/pulls{/number}","milestones_url":"https://api.github.com/repos/rangle/ngCourse2/milestones{/number}","notifications_url":"https://api.github.com/repos/rangle/ngCourse2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rangle/ngCourse2/labels{/name}","releases_url":"https://api.github.com/repos/rangle/ngCourse2/releases{/id}","deployments_url":"https://api.github.com/repos/rangle/ngCourse2/deployments","created_at":"2016-01-08T16:35:24Z","updated_at":"2016-02-29T19:35:08Z","pushed_at":"2016-02-29T20:07:35Z","git_url":"git://github.com/rangle/ngCourse2.git","ssh_url":"git@github.com:rangle/ngCourse2.git","clone_url":"https://github.com/rangle/ngCourse2.git","svn_url":"https://github.com/rangle/ngCourse2","homepage":null,"size":3360,"stargazers_count":8,"watchers_count":8,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":13,"forks":17,"open_issues":13,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rangle/ngCourse2/pulls/123"},"html":{"href":"https://github.com/rangle/ngCourse2/pull/123"},"issue":{"href":"https://api.github.com/repos/rangle/ngCourse2/issues/123"},"comments":{"href":"https://api.github.com/repos/rangle/ngCourse2/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/rangle/ngCourse2/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/rangle/ngCourse2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rangle/ngCourse2/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/rangle/ngCourse2/statuses/102c7f86d7ca5e7b597b73f13c8eae7f970451dc"}}}}