{"action":"created","comment":{"url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/comments/40274649","id":40274649,"diff_hunk":"@@ -0,0 +1,34 @@\n+angular.module('wtf.create-recipes', [])\n+  .controller('CreateRecipesController', function($scope, $window, Auth, Recipe) {\n+\n+    $scope.recipe = {};\n+\n+    $scope.$watch(Auth.isAuth, function(authed) {\n+      if (authed) {\n+        $location.path('/create-recipes');\n+      } else {\n+        $location.path('/');\n+      }\n+    }, true);\n+\n+    $scope.root = ","path":"client/app/create-recipes/create-recipes-controller.js","position":14,"original_position":14,"commit_id":"54cf4aa451b8882579cd8ea84198606d79142da1","original_commit_id":"54cf4aa451b8882579cd8ea84198606d79142da1","user":{"login":"sdxl","id":11682330,"avatar_url":"https://avatars.githubusercontent.com/u/11682330?v=3","gravatar_id":"","url":"https://api.github.com/users/sdxl","html_url":"https://github.com/sdxl","followers_url":"https://api.github.com/users/sdxl/followers","following_url":"https://api.github.com/users/sdxl/following{/other_user}","gists_url":"https://api.github.com/users/sdxl/gists{/gist_id}","starred_url":"https://api.github.com/users/sdxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdxl/subscriptions","organizations_url":"https://api.github.com/users/sdxl/orgs","repos_url":"https://api.github.com/users/sdxl/repos","events_url":"https://api.github.com/users/sdxl/events{/privacy}","received_events_url":"https://api.github.com/users/sdxl/received_events","type":"User","site_admin":false},"body":"Please remove this; I don't believe it will be needed","created_at":"2015-09-24T00:24:15Z","updated_at":"2015-09-24T00:24:15Z","html_url":"https://github.com/gigapath/whatthefridge/pull/8#discussion_r40274649","pull_request_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/comments/40274649"},"html":{"href":"https://github.com/gigapath/whatthefridge/pull/8#discussion_r40274649"},"pull_request":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/8","id":45846180,"html_url":"https://github.com/gigapath/whatthefridge/pull/8","diff_url":"https://github.com/gigapath/whatthefridge/pull/8.diff","patch_url":"https://github.com/gigapath/whatthefridge/pull/8.patch","issue_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/8","number":8,"state":"open","locked":false,"title":"Feature/create recipe controller","user":{"login":"Jbays","id":11415162,"avatar_url":"https://avatars.githubusercontent.com/u/11415162?v=3","gravatar_id":"","url":"https://api.github.com/users/Jbays","html_url":"https://github.com/Jbays","followers_url":"https://api.github.com/users/Jbays/followers","following_url":"https://api.github.com/users/Jbays/following{/other_user}","gists_url":"https://api.github.com/users/Jbays/gists{/gist_id}","starred_url":"https://api.github.com/users/Jbays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jbays/subscriptions","organizations_url":"https://api.github.com/users/Jbays/orgs","repos_url":"https://api.github.com/users/Jbays/repos","events_url":"https://api.github.com/users/Jbays/events{/privacy}","received_events_url":"https://api.github.com/users/Jbays/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-24T00:00:12Z","updated_at":"2015-09-24T00:24:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96300e8bac45fef683133df6c7dc59f5cbbba526","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/8/commits","review_comments_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/8/comments","review_comment_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/8/comments","statuses_url":"https://api.github.com/repos/gigapath/whatthefridge/statuses/54cf4aa451b8882579cd8ea84198606d79142da1","head":{"label":"gigapath:feature/create-recipe-controller","ref":"feature/create-recipe-controller","sha":"54cf4aa451b8882579cd8ea84198606d79142da1","user":{"login":"gigapath","id":14794793,"avatar_url":"https://avatars.githubusercontent.com/u/14794793?v=3","gravatar_id":"","url":"https://api.github.com/users/gigapath","html_url":"https://github.com/gigapath","followers_url":"https://api.github.com/users/gigapath/followers","following_url":"https://api.github.com/users/gigapath/following{/other_user}","gists_url":"https://api.github.com/users/gigapath/gists{/gist_id}","starred_url":"https://api.github.com/users/gigapath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigapath/subscriptions","organizations_url":"https://api.github.com/users/gigapath/orgs","repos_url":"https://api.github.com/users/gigapath/repos","events_url":"https://api.github.com/users/gigapath/events{/privacy}","received_events_url":"https://api.github.com/users/gigapath/received_events","type":"Organization","site_admin":false},"repo":{"id":42961827,"name":"whatthefridge","full_name":"gigapath/whatthefridge","owner":{"login":"gigapath","id":14794793,"avatar_url":"https://avatars.githubusercontent.com/u/14794793?v=3","gravatar_id":"","url":"https://api.github.com/users/gigapath","html_url":"https://github.com/gigapath","followers_url":"https://api.github.com/users/gigapath/followers","following_url":"https://api.github.com/users/gigapath/following{/other_user}","gists_url":"https://api.github.com/users/gigapath/gists{/gist_id}","starred_url":"https://api.github.com/users/gigapath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigapath/subscriptions","organizations_url":"https://api.github.com/users/gigapath/orgs","repos_url":"https://api.github.com/users/gigapath/repos","events_url":"https://api.github.com/users/gigapath/events{/privacy}","received_events_url":"https://api.github.com/users/gigapath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gigapath/whatthefridge","description":"","fork":false,"url":"https://api.github.com/repos/gigapath/whatthefridge","forks_url":"https://api.github.com/repos/gigapath/whatthefridge/forks","keys_url":"https://api.github.com/repos/gigapath/whatthefridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gigapath/whatthefridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gigapath/whatthefridge/teams","hooks_url":"https://api.github.com/repos/gigapath/whatthefridge/hooks","issue_events_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/events{/number}","events_url":"https://api.github.com/repos/gigapath/whatthefridge/events","assignees_url":"https://api.github.com/repos/gigapath/whatthefridge/assignees{/user}","branches_url":"https://api.github.com/repos/gigapath/whatthefridge/branches{/branch}","tags_url":"https://api.github.com/repos/gigapath/whatthefridge/tags","blobs_url":"https://api.github.com/repos/gigapath/whatthefridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gigapath/whatthefridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gigapath/whatthefridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/gigapath/whatthefridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gigapath/whatthefridge/statuses/{sha}","languages_url":"https://api.github.com/repos/gigapath/whatthefridge/languages","stargazers_url":"https://api.github.com/repos/gigapath/whatthefridge/stargazers","contributors_url":"https://api.github.com/repos/gigapath/whatthefridge/contributors","subscribers_url":"https://api.github.com/repos/gigapath/whatthefridge/subscribers","subscription_url":"https://api.github.com/repos/gigapath/whatthefridge/subscription","commits_url":"https://api.github.com/repos/gigapath/whatthefridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/gigapath/whatthefridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/gigapath/whatthefridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/gigapath/whatthefridge/contents/{+path}","compare_url":"https://api.github.com/repos/gigapath/whatthefridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gigapath/whatthefridge/merges","archive_url":"https://api.github.com/repos/gigapath/whatthefridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gigapath/whatthefridge/downloads","issues_url":"https://api.github.com/repos/gigapath/whatthefridge/issues{/number}","pulls_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls{/number}","milestones_url":"https://api.github.com/repos/gigapath/whatthefridge/milestones{/number}","notifications_url":"https://api.github.com/repos/gigapath/whatthefridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gigapath/whatthefridge/labels{/name}","releases_url":"https://api.github.com/repos/gigapath/whatthefridge/releases{/id}","created_at":"2015-09-22T21:25:29Z","updated_at":"2015-09-23T19:44:24Z","pushed_at":"2015-09-24T00:19:50Z","git_url":"git://github.com/gigapath/whatthefridge.git","ssh_url":"git@github.com:gigapath/whatthefridge.git","clone_url":"https://github.com/gigapath/whatthefridge.git","svn_url":"https://github.com/gigapath/whatthefridge","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"gigapath:master","ref":"master","sha":"fb414a01db99eb16f174f695d4da0df28d3e7f11","user":{"login":"gigapath","id":14794793,"avatar_url":"https://avatars.githubusercontent.com/u/14794793?v=3","gravatar_id":"","url":"https://api.github.com/users/gigapath","html_url":"https://github.com/gigapath","followers_url":"https://api.github.com/users/gigapath/followers","following_url":"https://api.github.com/users/gigapath/following{/other_user}","gists_url":"https://api.github.com/users/gigapath/gists{/gist_id}","starred_url":"https://api.github.com/users/gigapath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigapath/subscriptions","organizations_url":"https://api.github.com/users/gigapath/orgs","repos_url":"https://api.github.com/users/gigapath/repos","events_url":"https://api.github.com/users/gigapath/events{/privacy}","received_events_url":"https://api.github.com/users/gigapath/received_events","type":"Organization","site_admin":false},"repo":{"id":42961827,"name":"whatthefridge","full_name":"gigapath/whatthefridge","owner":{"login":"gigapath","id":14794793,"avatar_url":"https://avatars.githubusercontent.com/u/14794793?v=3","gravatar_id":"","url":"https://api.github.com/users/gigapath","html_url":"https://github.com/gigapath","followers_url":"https://api.github.com/users/gigapath/followers","following_url":"https://api.github.com/users/gigapath/following{/other_user}","gists_url":"https://api.github.com/users/gigapath/gists{/gist_id}","starred_url":"https://api.github.com/users/gigapath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigapath/subscriptions","organizations_url":"https://api.github.com/users/gigapath/orgs","repos_url":"https://api.github.com/users/gigapath/repos","events_url":"https://api.github.com/users/gigapath/events{/privacy}","received_events_url":"https://api.github.com/users/gigapath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gigapath/whatthefridge","description":"","fork":false,"url":"https://api.github.com/repos/gigapath/whatthefridge","forks_url":"https://api.github.com/repos/gigapath/whatthefridge/forks","keys_url":"https://api.github.com/repos/gigapath/whatthefridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gigapath/whatthefridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gigapath/whatthefridge/teams","hooks_url":"https://api.github.com/repos/gigapath/whatthefridge/hooks","issue_events_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/events{/number}","events_url":"https://api.github.com/repos/gigapath/whatthefridge/events","assignees_url":"https://api.github.com/repos/gigapath/whatthefridge/assignees{/user}","branches_url":"https://api.github.com/repos/gigapath/whatthefridge/branches{/branch}","tags_url":"https://api.github.com/repos/gigapath/whatthefridge/tags","blobs_url":"https://api.github.com/repos/gigapath/whatthefridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gigapath/whatthefridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gigapath/whatthefridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/gigapath/whatthefridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gigapath/whatthefridge/statuses/{sha}","languages_url":"https://api.github.com/repos/gigapath/whatthefridge/languages","stargazers_url":"https://api.github.com/repos/gigapath/whatthefridge/stargazers","contributors_url":"https://api.github.com/repos/gigapath/whatthefridge/contributors","subscribers_url":"https://api.github.com/repos/gigapath/whatthefridge/subscribers","subscription_url":"https://api.github.com/repos/gigapath/whatthefridge/subscription","commits_url":"https://api.github.com/repos/gigapath/whatthefridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/gigapath/whatthefridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/gigapath/whatthefridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/gigapath/whatthefridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/gigapath/whatthefridge/contents/{+path}","compare_url":"https://api.github.com/repos/gigapath/whatthefridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gigapath/whatthefridge/merges","archive_url":"https://api.github.com/repos/gigapath/whatthefridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gigapath/whatthefridge/downloads","issues_url":"https://api.github.com/repos/gigapath/whatthefridge/issues{/number}","pulls_url":"https://api.github.com/repos/gigapath/whatthefridge/pulls{/number}","milestones_url":"https://api.github.com/repos/gigapath/whatthefridge/milestones{/number}","notifications_url":"https://api.github.com/repos/gigapath/whatthefridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gigapath/whatthefridge/labels{/name}","releases_url":"https://api.github.com/repos/gigapath/whatthefridge/releases{/id}","created_at":"2015-09-22T21:25:29Z","updated_at":"2015-09-23T19:44:24Z","pushed_at":"2015-09-24T00:19:50Z","git_url":"git://github.com/gigapath/whatthefridge.git","ssh_url":"git@github.com:gigapath/whatthefridge.git","clone_url":"https://github.com/gigapath/whatthefridge.git","svn_url":"https://github.com/gigapath/whatthefridge","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/8"},"html":{"href":"https://github.com/gigapath/whatthefridge/pull/8"},"issue":{"href":"https://api.github.com/repos/gigapath/whatthefridge/issues/8"},"comments":{"href":"https://api.github.com/repos/gigapath/whatthefridge/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gigapath/whatthefridge/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/gigapath/whatthefridge/statuses/54cf4aa451b8882579cd8ea84198606d79142da1"}}}}