{"action":"created","comment":{"url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/comments/29299344","id":29299344,"diff_hunk":"@@ -14,19 +14,34 @@ app.config(function ($stateProvider) {\n     });\n });\n \n-app.controller('filmsCtrl', function ($scope, FilmFactory) {\n+app.controller('filmsCtrl', function ($scope, FilmFactory, CategoryFactory) {\n   \n-  $scope.getMovies = function(){\n-    FilmFactory.getFilms()\n+  $scope.getMovies = function(filter){\n+    console.log(\"FILTER: \",filter);\n+    console.log(\"FilmFactory.getFilms(\"+filter+\")\");\n+    FilmFactory.getFilms(filter)\n       .then(function(filmsfromserver){\n         $scope.films = filmsfromserver;\n         console.log(\"$scope.films: \",$scope.films);\n       })\n       .catch(function(err){","path":"browser/js/films/FilmUI.js","position":17,"original_position":17,"commit_id":"8cd8e23c19c224f6006e6752e5db00984b35a05a","original_commit_id":"8cd8e23c19c224f6006e6752e5db00984b35a05a","user":{"login":"alexyuningliu","id":2261842,"avatar_url":"https://avatars.githubusercontent.com/u/2261842?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyuningliu","html_url":"https://github.com/alexyuningliu","followers_url":"https://api.github.com/users/alexyuningliu/followers","following_url":"https://api.github.com/users/alexyuningliu/following{/other_user}","gists_url":"https://api.github.com/users/alexyuningliu/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyuningliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyuningliu/subscriptions","organizations_url":"https://api.github.com/users/alexyuningliu/orgs","repos_url":"https://api.github.com/users/alexyuningliu/repos","events_url":"https://api.github.com/users/alexyuningliu/events{/privacy}","received_events_url":"https://api.github.com/users/alexyuningliu/received_events","type":"User","site_admin":false},"body":"Nice catch :+1: ","created_at":"2015-04-28T23:34:54Z","updated_at":"2015-04-28T23:34:54Z","html_url":"https://github.com/carolynyoo/stack_store/pull/48#discussion_r29299344","pull_request_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/comments/29299344"},"html":{"href":"https://github.com/carolynyoo/stack_store/pull/48#discussion_r29299344"},"pull_request":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/48","id":33912151,"html_url":"https://github.com/carolynyoo/stack_store/pull/48","diff_url":"https://github.com/carolynyoo/stack_store/pull/48.diff","patch_url":"https://github.com/carolynyoo/stack_store/pull/48.patch","issue_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/48","number":48,"state":"open","locked":false,"title":"Filter films","user":{"login":"gskerry","id":8867156,"avatar_url":"https://avatars.githubusercontent.com/u/8867156?v=3","gravatar_id":"","url":"https://api.github.com/users/gskerry","html_url":"https://github.com/gskerry","followers_url":"https://api.github.com/users/gskerry/followers","following_url":"https://api.github.com/users/gskerry/following{/other_user}","gists_url":"https://api.github.com/users/gskerry/gists{/gist_id}","starred_url":"https://api.github.com/users/gskerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gskerry/subscriptions","organizations_url":"https://api.github.com/users/gskerry/orgs","repos_url":"https://api.github.com/users/gskerry/repos","events_url":"https://api.github.com/users/gskerry/events{/privacy}","received_events_url":"https://api.github.com/users/gskerry/received_events","type":"User","site_admin":false},"body":"All-films browser view.\r\nFilterable by genre.\r\n![image](https://cloud.githubusercontent.com/assets/8867156/7342400/8d742d90-ec81-11e4-9c00-d80cb74698e5.png)\r\n ","created_at":"2015-04-22T23:41:29Z","updated_at":"2015-04-28T23:34:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28d9139f11e1815779ffdc9b9876a3934f8cf80b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/48/commits","review_comments_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/48/comments","review_comment_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/48/comments","statuses_url":"https://api.github.com/repos/carolynyoo/stack_store/statuses/8cd8e23c19c224f6006e6752e5db00984b35a05a","head":{"label":"carolynyoo:filter-films","ref":"filter-films","sha":"8cd8e23c19c224f6006e6752e5db00984b35a05a","user":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"repo":{"id":34169303,"name":"stack_store","full_name":"carolynyoo/stack_store","owner":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carolynyoo/stack_store","description":"Movie ecommerce platform (MEAN stack)","fork":false,"url":"https://api.github.com/repos/carolynyoo/stack_store","forks_url":"https://api.github.com/repos/carolynyoo/stack_store/forks","keys_url":"https://api.github.com/repos/carolynyoo/stack_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carolynyoo/stack_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carolynyoo/stack_store/teams","hooks_url":"https://api.github.com/repos/carolynyoo/stack_store/hooks","issue_events_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/events{/number}","events_url":"https://api.github.com/repos/carolynyoo/stack_store/events","assignees_url":"https://api.github.com/repos/carolynyoo/stack_store/assignees{/user}","branches_url":"https://api.github.com/repos/carolynyoo/stack_store/branches{/branch}","tags_url":"https://api.github.com/repos/carolynyoo/stack_store/tags","blobs_url":"https://api.github.com/repos/carolynyoo/stack_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carolynyoo/stack_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carolynyoo/stack_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/carolynyoo/stack_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carolynyoo/stack_store/statuses/{sha}","languages_url":"https://api.github.com/repos/carolynyoo/stack_store/languages","stargazers_url":"https://api.github.com/repos/carolynyoo/stack_store/stargazers","contributors_url":"https://api.github.com/repos/carolynyoo/stack_store/contributors","subscribers_url":"https://api.github.com/repos/carolynyoo/stack_store/subscribers","subscription_url":"https://api.github.com/repos/carolynyoo/stack_store/subscription","commits_url":"https://api.github.com/repos/carolynyoo/stack_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/carolynyoo/stack_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/carolynyoo/stack_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/comments{/number}","contents_url":"https://api.github.com/repos/carolynyoo/stack_store/contents/{+path}","compare_url":"https://api.github.com/repos/carolynyoo/stack_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carolynyoo/stack_store/merges","archive_url":"https://api.github.com/repos/carolynyoo/stack_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carolynyoo/stack_store/downloads","issues_url":"https://api.github.com/repos/carolynyoo/stack_store/issues{/number}","pulls_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls{/number}","milestones_url":"https://api.github.com/repos/carolynyoo/stack_store/milestones{/number}","notifications_url":"https://api.github.com/repos/carolynyoo/stack_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carolynyoo/stack_store/labels{/name}","releases_url":"https://api.github.com/repos/carolynyoo/stack_store/releases{/id}","created_at":"2015-04-18T14:41:28Z","updated_at":"2015-04-26T19:10:53Z","pushed_at":"2015-04-27T06:01:18Z","git_url":"git://github.com/carolynyoo/stack_store.git","ssh_url":"git@github.com:carolynyoo/stack_store.git","clone_url":"https://github.com/carolynyoo/stack_store.git","svn_url":"https://github.com/carolynyoo/stack_store","homepage":"","size":540,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":1,"default_branch":"master"}},"base":{"label":"carolynyoo:master","ref":"master","sha":"e7d43ff06d4fc8cbfb415acdc255aa6ff62306da","user":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"repo":{"id":34169303,"name":"stack_store","full_name":"carolynyoo/stack_store","owner":{"login":"carolynyoo","id":8825278,"avatar_url":"https://avatars.githubusercontent.com/u/8825278?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynyoo","html_url":"https://github.com/carolynyoo","followers_url":"https://api.github.com/users/carolynyoo/followers","following_url":"https://api.github.com/users/carolynyoo/following{/other_user}","gists_url":"https://api.github.com/users/carolynyoo/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynyoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynyoo/subscriptions","organizations_url":"https://api.github.com/users/carolynyoo/orgs","repos_url":"https://api.github.com/users/carolynyoo/repos","events_url":"https://api.github.com/users/carolynyoo/events{/privacy}","received_events_url":"https://api.github.com/users/carolynyoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carolynyoo/stack_store","description":"Movie ecommerce platform (MEAN stack)","fork":false,"url":"https://api.github.com/repos/carolynyoo/stack_store","forks_url":"https://api.github.com/repos/carolynyoo/stack_store/forks","keys_url":"https://api.github.com/repos/carolynyoo/stack_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carolynyoo/stack_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carolynyoo/stack_store/teams","hooks_url":"https://api.github.com/repos/carolynyoo/stack_store/hooks","issue_events_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/events{/number}","events_url":"https://api.github.com/repos/carolynyoo/stack_store/events","assignees_url":"https://api.github.com/repos/carolynyoo/stack_store/assignees{/user}","branches_url":"https://api.github.com/repos/carolynyoo/stack_store/branches{/branch}","tags_url":"https://api.github.com/repos/carolynyoo/stack_store/tags","blobs_url":"https://api.github.com/repos/carolynyoo/stack_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carolynyoo/stack_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carolynyoo/stack_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/carolynyoo/stack_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carolynyoo/stack_store/statuses/{sha}","languages_url":"https://api.github.com/repos/carolynyoo/stack_store/languages","stargazers_url":"https://api.github.com/repos/carolynyoo/stack_store/stargazers","contributors_url":"https://api.github.com/repos/carolynyoo/stack_store/contributors","subscribers_url":"https://api.github.com/repos/carolynyoo/stack_store/subscribers","subscription_url":"https://api.github.com/repos/carolynyoo/stack_store/subscription","commits_url":"https://api.github.com/repos/carolynyoo/stack_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/carolynyoo/stack_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/carolynyoo/stack_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/carolynyoo/stack_store/issues/comments{/number}","contents_url":"https://api.github.com/repos/carolynyoo/stack_store/contents/{+path}","compare_url":"https://api.github.com/repos/carolynyoo/stack_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carolynyoo/stack_store/merges","archive_url":"https://api.github.com/repos/carolynyoo/stack_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carolynyoo/stack_store/downloads","issues_url":"https://api.github.com/repos/carolynyoo/stack_store/issues{/number}","pulls_url":"https://api.github.com/repos/carolynyoo/stack_store/pulls{/number}","milestones_url":"https://api.github.com/repos/carolynyoo/stack_store/milestones{/number}","notifications_url":"https://api.github.com/repos/carolynyoo/stack_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carolynyoo/stack_store/labels{/name}","releases_url":"https://api.github.com/repos/carolynyoo/stack_store/releases{/id}","created_at":"2015-04-18T14:41:28Z","updated_at":"2015-04-26T19:10:53Z","pushed_at":"2015-04-27T06:01:18Z","git_url":"git://github.com/carolynyoo/stack_store.git","ssh_url":"git@github.com:carolynyoo/stack_store.git","clone_url":"https://github.com/carolynyoo/stack_store.git","svn_url":"https://github.com/carolynyoo/stack_store","homepage":"","size":540,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/48"},"html":{"href":"https://github.com/carolynyoo/stack_store/pull/48"},"issue":{"href":"https://api.github.com/repos/carolynyoo/stack_store/issues/48"},"comments":{"href":"https://api.github.com/repos/carolynyoo/stack_store/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/carolynyoo/stack_store/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/carolynyoo/stack_store/statuses/8cd8e23c19c224f6006e6752e5db00984b35a05a"}}}}