{"action":"created","comment":{"url":"https://api.github.com/repos/iyel/angular_es6/pulls/comments/44042773","id":44042773,"diff_hunk":"@@ -0,0 +1,31 @@\n+/**\n+ * Created by Ilya on 04/11/15.\n+ */\n+\n+'use strict';\n+\n+var _$resource = new WeakMap();","path":"src/app/search/search.resource.js","position":7,"original_position":7,"commit_id":"a99f4b1213638f865af9b34c6441ed0ccf9bad0b","original_commit_id":"e2e8de987bd7c600cb7d9043d5467fe5e7c193d4","user":{"login":"artemlatyshev","id":15652576,"avatar_url":"https://avatars.githubusercontent.com/u/15652576?v=3","gravatar_id":"","url":"https://api.github.com/users/artemlatyshev","html_url":"https://github.com/artemlatyshev","followers_url":"https://api.github.com/users/artemlatyshev/followers","following_url":"https://api.github.com/users/artemlatyshev/following{/other_user}","gists_url":"https://api.github.com/users/artemlatyshev/gists{/gist_id}","starred_url":"https://api.github.com/users/artemlatyshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemlatyshev/subscriptions","organizations_url":"https://api.github.com/users/artemlatyshev/orgs","repos_url":"https://api.github.com/users/artemlatyshev/repos","events_url":"https://api.github.com/users/artemlatyshev/events{/privacy}","received_events_url":"https://api.github.com/users/artemlatyshev/received_events","type":"User","site_admin":false},"body":"I still dont understand: in constructor *set* is immediately followed by *get*, what's the difference between just using *$resource*?","created_at":"2015-11-05T17:42:12Z","updated_at":"2015-11-05T17:42:12Z","html_url":"https://github.com/iyel/angular_es6/pull/1#discussion_r44042773","pull_request_url":"https://api.github.com/repos/iyel/angular_es6/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/iyel/angular_es6/pulls/comments/44042773"},"html":{"href":"https://github.com/iyel/angular_es6/pull/1#discussion_r44042773"},"pull_request":{"href":"https://api.github.com/repos/iyel/angular_es6/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/iyel/angular_es6/pulls/1","id":49815347,"html_url":"https://github.com/iyel/angular_es6/pull/1","diff_url":"https://github.com/iyel/angular_es6/pull/1.diff","patch_url":"https://github.com/iyel/angular_es6/pull/1.patch","issue_url":"https://api.github.com/repos/iyel/angular_es6/issues/1","number":1,"state":"open","locked":false,"title":"Angular + ES6","user":{"login":"iyel","id":929834,"avatar_url":"https://avatars.githubusercontent.com/u/929834?v=3","gravatar_id":"","url":"https://api.github.com/users/iyel","html_url":"https://github.com/iyel","followers_url":"https://api.github.com/users/iyel/followers","following_url":"https://api.github.com/users/iyel/following{/other_user}","gists_url":"https://api.github.com/users/iyel/gists{/gist_id}","starred_url":"https://api.github.com/users/iyel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyel/subscriptions","organizations_url":"https://api.github.com/users/iyel/orgs","repos_url":"https://api.github.com/users/iyel/repos","events_url":"https://api.github.com/users/iyel/events{/privacy}","received_events_url":"https://api.github.com/users/iyel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-05T12:02:48Z","updated_at":"2015-11-05T17:42:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e0d298b369daec05be9354e432e5126c107e1a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iyel/angular_es6/pulls/1/commits","review_comments_url":"https://api.github.com/repos/iyel/angular_es6/pulls/1/comments","review_comment_url":"https://api.github.com/repos/iyel/angular_es6/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iyel/angular_es6/issues/1/comments","statuses_url":"https://api.github.com/repos/iyel/angular_es6/statuses/a99f4b1213638f865af9b34c6441ed0ccf9bad0b","head":{"label":"iyel:develop","ref":"develop","sha":"a99f4b1213638f865af9b34c6441ed0ccf9bad0b","user":{"login":"iyel","id":929834,"avatar_url":"https://avatars.githubusercontent.com/u/929834?v=3","gravatar_id":"","url":"https://api.github.com/users/iyel","html_url":"https://github.com/iyel","followers_url":"https://api.github.com/users/iyel/followers","following_url":"https://api.github.com/users/iyel/following{/other_user}","gists_url":"https://api.github.com/users/iyel/gists{/gist_id}","starred_url":"https://api.github.com/users/iyel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyel/subscriptions","organizations_url":"https://api.github.com/users/iyel/orgs","repos_url":"https://api.github.com/users/iyel/repos","events_url":"https://api.github.com/users/iyel/events{/privacy}","received_events_url":"https://api.github.com/users/iyel/received_events","type":"User","site_admin":false},"repo":{"id":45601457,"name":"angular_es6","full_name":"iyel/angular_es6","owner":{"login":"iyel","id":929834,"avatar_url":"https://avatars.githubusercontent.com/u/929834?v=3","gravatar_id":"","url":"https://api.github.com/users/iyel","html_url":"https://github.com/iyel","followers_url":"https://api.github.com/users/iyel/followers","following_url":"https://api.github.com/users/iyel/following{/other_user}","gists_url":"https://api.github.com/users/iyel/gists{/gist_id}","starred_url":"https://api.github.com/users/iyel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyel/subscriptions","organizations_url":"https://api.github.com/users/iyel/orgs","repos_url":"https://api.github.com/users/iyel/repos","events_url":"https://api.github.com/users/iyel/events{/privacy}","received_events_url":"https://api.github.com/users/iyel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iyel/angular_es6","description":"ES6 + angular 1.x","fork":false,"url":"https://api.github.com/repos/iyel/angular_es6","forks_url":"https://api.github.com/repos/iyel/angular_es6/forks","keys_url":"https://api.github.com/repos/iyel/angular_es6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iyel/angular_es6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iyel/angular_es6/teams","hooks_url":"https://api.github.com/repos/iyel/angular_es6/hooks","issue_events_url":"https://api.github.com/repos/iyel/angular_es6/issues/events{/number}","events_url":"https://api.github.com/repos/iyel/angular_es6/events","assignees_url":"https://api.github.com/repos/iyel/angular_es6/assignees{/user}","branches_url":"https://api.github.com/repos/iyel/angular_es6/branches{/branch}","tags_url":"https://api.github.com/repos/iyel/angular_es6/tags","blobs_url":"https://api.github.com/repos/iyel/angular_es6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iyel/angular_es6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iyel/angular_es6/git/refs{/sha}","trees_url":"https://api.github.com/repos/iyel/angular_es6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iyel/angular_es6/statuses/{sha}","languages_url":"https://api.github.com/repos/iyel/angular_es6/languages","stargazers_url":"https://api.github.com/repos/iyel/angular_es6/stargazers","contributors_url":"https://api.github.com/repos/iyel/angular_es6/contributors","subscribers_url":"https://api.github.com/repos/iyel/angular_es6/subscribers","subscription_url":"https://api.github.com/repos/iyel/angular_es6/subscription","commits_url":"https://api.github.com/repos/iyel/angular_es6/commits{/sha}","git_commits_url":"https://api.github.com/repos/iyel/angular_es6/git/commits{/sha}","comments_url":"https://api.github.com/repos/iyel/angular_es6/comments{/number}","issue_comment_url":"https://api.github.com/repos/iyel/angular_es6/issues/comments{/number}","contents_url":"https://api.github.com/repos/iyel/angular_es6/contents/{+path}","compare_url":"https://api.github.com/repos/iyel/angular_es6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iyel/angular_es6/merges","archive_url":"https://api.github.com/repos/iyel/angular_es6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iyel/angular_es6/downloads","issues_url":"https://api.github.com/repos/iyel/angular_es6/issues{/number}","pulls_url":"https://api.github.com/repos/iyel/angular_es6/pulls{/number}","milestones_url":"https://api.github.com/repos/iyel/angular_es6/milestones{/number}","notifications_url":"https://api.github.com/repos/iyel/angular_es6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iyel/angular_es6/labels{/name}","releases_url":"https://api.github.com/repos/iyel/angular_es6/releases{/id}","created_at":"2015-11-05T09:36:21Z","updated_at":"2015-11-05T09:36:21Z","pushed_at":"2015-11-05T16:41:06Z","git_url":"git://github.com/iyel/angular_es6.git","ssh_url":"git@github.com:iyel/angular_es6.git","clone_url":"https://github.com/iyel/angular_es6.git","svn_url":"https://github.com/iyel/angular_es6","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"default_branch":"master"}},"base":{"label":"iyel:master","ref":"master","sha":"67bf444e5032c10c95ea58088715c9fc567ec8a7","user":{"login":"iyel","id":929834,"avatar_url":"https://avatars.githubusercontent.com/u/929834?v=3","gravatar_id":"","url":"https://api.github.com/users/iyel","html_url":"https://github.com/iyel","followers_url":"https://api.github.com/users/iyel/followers","following_url":"https://api.github.com/users/iyel/following{/other_user}","gists_url":"https://api.github.com/users/iyel/gists{/gist_id}","starred_url":"https://api.github.com/users/iyel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyel/subscriptions","organizations_url":"https://api.github.com/users/iyel/orgs","repos_url":"https://api.github.com/users/iyel/repos","events_url":"https://api.github.com/users/iyel/events{/privacy}","received_events_url":"https://api.github.com/users/iyel/received_events","type":"User","site_admin":false},"repo":{"id":45601457,"name":"angular_es6","full_name":"iyel/angular_es6","owner":{"login":"iyel","id":929834,"avatar_url":"https://avatars.githubusercontent.com/u/929834?v=3","gravatar_id":"","url":"https://api.github.com/users/iyel","html_url":"https://github.com/iyel","followers_url":"https://api.github.com/users/iyel/followers","following_url":"https://api.github.com/users/iyel/following{/other_user}","gists_url":"https://api.github.com/users/iyel/gists{/gist_id}","starred_url":"https://api.github.com/users/iyel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyel/subscriptions","organizations_url":"https://api.github.com/users/iyel/orgs","repos_url":"https://api.github.com/users/iyel/repos","events_url":"https://api.github.com/users/iyel/events{/privacy}","received_events_url":"https://api.github.com/users/iyel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iyel/angular_es6","description":"ES6 + angular 1.x","fork":false,"url":"https://api.github.com/repos/iyel/angular_es6","forks_url":"https://api.github.com/repos/iyel/angular_es6/forks","keys_url":"https://api.github.com/repos/iyel/angular_es6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iyel/angular_es6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iyel/angular_es6/teams","hooks_url":"https://api.github.com/repos/iyel/angular_es6/hooks","issue_events_url":"https://api.github.com/repos/iyel/angular_es6/issues/events{/number}","events_url":"https://api.github.com/repos/iyel/angular_es6/events","assignees_url":"https://api.github.com/repos/iyel/angular_es6/assignees{/user}","branches_url":"https://api.github.com/repos/iyel/angular_es6/branches{/branch}","tags_url":"https://api.github.com/repos/iyel/angular_es6/tags","blobs_url":"https://api.github.com/repos/iyel/angular_es6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iyel/angular_es6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iyel/angular_es6/git/refs{/sha}","trees_url":"https://api.github.com/repos/iyel/angular_es6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iyel/angular_es6/statuses/{sha}","languages_url":"https://api.github.com/repos/iyel/angular_es6/languages","stargazers_url":"https://api.github.com/repos/iyel/angular_es6/stargazers","contributors_url":"https://api.github.com/repos/iyel/angular_es6/contributors","subscribers_url":"https://api.github.com/repos/iyel/angular_es6/subscribers","subscription_url":"https://api.github.com/repos/iyel/angular_es6/subscription","commits_url":"https://api.github.com/repos/iyel/angular_es6/commits{/sha}","git_commits_url":"https://api.github.com/repos/iyel/angular_es6/git/commits{/sha}","comments_url":"https://api.github.com/repos/iyel/angular_es6/comments{/number}","issue_comment_url":"https://api.github.com/repos/iyel/angular_es6/issues/comments{/number}","contents_url":"https://api.github.com/repos/iyel/angular_es6/contents/{+path}","compare_url":"https://api.github.com/repos/iyel/angular_es6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iyel/angular_es6/merges","archive_url":"https://api.github.com/repos/iyel/angular_es6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iyel/angular_es6/downloads","issues_url":"https://api.github.com/repos/iyel/angular_es6/issues{/number}","pulls_url":"https://api.github.com/repos/iyel/angular_es6/pulls{/number}","milestones_url":"https://api.github.com/repos/iyel/angular_es6/milestones{/number}","notifications_url":"https://api.github.com/repos/iyel/angular_es6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iyel/angular_es6/labels{/name}","releases_url":"https://api.github.com/repos/iyel/angular_es6/releases{/id}","created_at":"2015-11-05T09:36:21Z","updated_at":"2015-11-05T09:36:21Z","pushed_at":"2015-11-05T16:41:06Z","git_url":"git://github.com/iyel/angular_es6.git","ssh_url":"git@github.com:iyel/angular_es6.git","clone_url":"https://github.com/iyel/angular_es6.git","svn_url":"https://github.com/iyel/angular_es6","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iyel/angular_es6/pulls/1"},"html":{"href":"https://github.com/iyel/angular_es6/pull/1"},"issue":{"href":"https://api.github.com/repos/iyel/angular_es6/issues/1"},"comments":{"href":"https://api.github.com/repos/iyel/angular_es6/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/iyel/angular_es6/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/iyel/angular_es6/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iyel/angular_es6/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/iyel/angular_es6/statuses/a99f4b1213638f865af9b34c6441ed0ccf9bad0b"}}}}