{"action":"created","comment":{"url":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/comments/51986463","id":51986463,"diff_hunk":"@@ -247,6 +278,66 @@ angular.module('angular-hal', [])\n             return resultHref;\n         } //resolveUrl\n \n+        /**\n+         * Link Header\n+         *\n+         * @param {String} uriReference The Link Value\n+         * @param {Object} linkParams   The Link Params\n+         * @constructor\n+         */\n+        function LinkHeader(uriReference, linkParams) {\n+            var self = this;\n+\n+            /**\n+             * Initialize the LinkHeader\n+             *\n+             * @return void\n+             */\n+            (function init() {\n+                angular.merge(self, {\n+                    uriReference: uriReference,\n+                    linkParams: angular.merge(\n+                        {\n+                            rel: null,\n+                            anchor: null,\n+                            rev: null,\n+                            hreflang: null,\n+                            media: null,\n+                            title: null,\n+                            type: null,\n+                        },\n+                        linkParams\n+                    ),\n+                });\n+            })();\n+\n+            /**\n+             * Convert LinkHeader to String\n+             *\n+             * @return {String}\n+             */\n+            self.toString = function toString() {\n+                var result = '<' + self.uriReference + '>',\n+                    params = [];\n+\n+                angular.forEach(self.linkParams, function(paramValue, paramName) {","path":"angular-hal.js","position":109,"original_position":109,"commit_id":"28f9e163189805ac2aa4c855a71506ff413c3b69","original_commit_id":"28f9e163189805ac2aa4c855a71506ff413c3b69","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2016-02-05T07:57:25Z","updated_at":"2016-02-05T07:57:25Z","html_url":"https://github.com/LuvDaSun/angular-hal/pull/34#discussion_r51986463","pull_request_url":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/comments/51986463"},"html":{"href":"https://github.com/LuvDaSun/angular-hal/pull/34#discussion_r51986463"},"pull_request":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/34","id":58398324,"html_url":"https://github.com/LuvDaSun/angular-hal/pull/34","diff_url":"https://github.com/LuvDaSun/angular-hal/pull/34.diff","patch_url":"https://github.com/LuvDaSun/angular-hal/pull/34.patch","issue_url":"https://api.github.com/repos/LuvDaSun/angular-hal/issues/34","number":34,"state":"open","locked":false,"title":"Add Support for Link / Unlink Methods","user":{"login":"maennchen","id":333918,"avatar_url":"https://avatars.githubusercontent.com/u/333918?v=3","gravatar_id":"","url":"https://api.github.com/users/maennchen","html_url":"https://github.com/maennchen","followers_url":"https://api.github.com/users/maennchen/followers","following_url":"https://api.github.com/users/maennchen/following{/other_user}","gists_url":"https://api.github.com/users/maennchen/gists{/gist_id}","starred_url":"https://api.github.com/users/maennchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maennchen/subscriptions","organizations_url":"https://api.github.com/users/maennchen/orgs","repos_url":"https://api.github.com/users/maennchen/repos","events_url":"https://api.github.com/users/maennchen/events{/privacy}","received_events_url":"https://api.github.com/users/maennchen/received_events","type":"User","site_admin":false},"body":"This Pull Request is based on #33. I'll rebase on the master branch as soon as it is merged.","created_at":"2016-02-05T07:56:51Z","updated_at":"2016-02-05T07:57:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/34/commits","review_comments_url":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/34/comments","review_comment_url":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LuvDaSun/angular-hal/issues/34/comments","statuses_url":"https://api.github.com/repos/LuvDaSun/angular-hal/statuses/28f9e163189805ac2aa4c855a71506ff413c3b69","head":{"label":"maennchen:link_unlink","ref":"link_unlink","sha":"28f9e163189805ac2aa4c855a71506ff413c3b69","user":{"login":"maennchen","id":333918,"avatar_url":"https://avatars.githubusercontent.com/u/333918?v=3","gravatar_id":"","url":"https://api.github.com/users/maennchen","html_url":"https://github.com/maennchen","followers_url":"https://api.github.com/users/maennchen/followers","following_url":"https://api.github.com/users/maennchen/following{/other_user}","gists_url":"https://api.github.com/users/maennchen/gists{/gist_id}","starred_url":"https://api.github.com/users/maennchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maennchen/subscriptions","organizations_url":"https://api.github.com/users/maennchen/orgs","repos_url":"https://api.github.com/users/maennchen/repos","events_url":"https://api.github.com/users/maennchen/events{/privacy}","received_events_url":"https://api.github.com/users/maennchen/received_events","type":"User","site_admin":false},"repo":{"id":51066117,"name":"angular-hal","full_name":"maennchen/angular-hal","owner":{"login":"maennchen","id":333918,"avatar_url":"https://avatars.githubusercontent.com/u/333918?v=3","gravatar_id":"","url":"https://api.github.com/users/maennchen","html_url":"https://github.com/maennchen","followers_url":"https://api.github.com/users/maennchen/followers","following_url":"https://api.github.com/users/maennchen/following{/other_user}","gists_url":"https://api.github.com/users/maennchen/gists{/gist_id}","starred_url":"https://api.github.com/users/maennchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maennchen/subscriptions","organizations_url":"https://api.github.com/users/maennchen/orgs","repos_url":"https://api.github.com/users/maennchen/repos","events_url":"https://api.github.com/users/maennchen/events{/privacy}","received_events_url":"https://api.github.com/users/maennchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maennchen/angular-hal","description":"HAL client for angularjs","fork":true,"url":"https://api.github.com/repos/maennchen/angular-hal","forks_url":"https://api.github.com/repos/maennchen/angular-hal/forks","keys_url":"https://api.github.com/repos/maennchen/angular-hal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maennchen/angular-hal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maennchen/angular-hal/teams","hooks_url":"https://api.github.com/repos/maennchen/angular-hal/hooks","issue_events_url":"https://api.github.com/repos/maennchen/angular-hal/issues/events{/number}","events_url":"https://api.github.com/repos/maennchen/angular-hal/events","assignees_url":"https://api.github.com/repos/maennchen/angular-hal/assignees{/user}","branches_url":"https://api.github.com/repos/maennchen/angular-hal/branches{/branch}","tags_url":"https://api.github.com/repos/maennchen/angular-hal/tags","blobs_url":"https://api.github.com/repos/maennchen/angular-hal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maennchen/angular-hal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maennchen/angular-hal/git/refs{/sha}","trees_url":"https://api.github.com/repos/maennchen/angular-hal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maennchen/angular-hal/statuses/{sha}","languages_url":"https://api.github.com/repos/maennchen/angular-hal/languages","stargazers_url":"https://api.github.com/repos/maennchen/angular-hal/stargazers","contributors_url":"https://api.github.com/repos/maennchen/angular-hal/contributors","subscribers_url":"https://api.github.com/repos/maennchen/angular-hal/subscribers","subscription_url":"https://api.github.com/repos/maennchen/angular-hal/subscription","commits_url":"https://api.github.com/repos/maennchen/angular-hal/commits{/sha}","git_commits_url":"https://api.github.com/repos/maennchen/angular-hal/git/commits{/sha}","comments_url":"https://api.github.com/repos/maennchen/angular-hal/comments{/number}","issue_comment_url":"https://api.github.com/repos/maennchen/angular-hal/issues/comments{/number}","contents_url":"https://api.github.com/repos/maennchen/angular-hal/contents/{+path}","compare_url":"https://api.github.com/repos/maennchen/angular-hal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maennchen/angular-hal/merges","archive_url":"https://api.github.com/repos/maennchen/angular-hal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maennchen/angular-hal/downloads","issues_url":"https://api.github.com/repos/maennchen/angular-hal/issues{/number}","pulls_url":"https://api.github.com/repos/maennchen/angular-hal/pulls{/number}","milestones_url":"https://api.github.com/repos/maennchen/angular-hal/milestones{/number}","notifications_url":"https://api.github.com/repos/maennchen/angular-hal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maennchen/angular-hal/labels{/name}","releases_url":"https://api.github.com/repos/maennchen/angular-hal/releases{/id}","deployments_url":"https://api.github.com/repos/maennchen/angular-hal/deployments","created_at":"2016-02-04T09:39:42Z","updated_at":"2016-02-04T09:39:43Z","pushed_at":"2016-02-05T07:55:37Z","git_url":"git://github.com/maennchen/angular-hal.git","ssh_url":"git@github.com:maennchen/angular-hal.git","clone_url":"https://github.com/maennchen/angular-hal.git","svn_url":"https://github.com/maennchen/angular-hal","homepage":"","size":77,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"LuvDaSun:master","ref":"master","sha":"cc2af8c09439b7e6b2f0dd0e55ceab67196d7450","user":{"login":"LuvDaSun","id":5626783,"avatar_url":"https://avatars.githubusercontent.com/u/5626783?v=3","gravatar_id":"","url":"https://api.github.com/users/LuvDaSun","html_url":"https://github.com/LuvDaSun","followers_url":"https://api.github.com/users/LuvDaSun/followers","following_url":"https://api.github.com/users/LuvDaSun/following{/other_user}","gists_url":"https://api.github.com/users/LuvDaSun/gists{/gist_id}","starred_url":"https://api.github.com/users/LuvDaSun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuvDaSun/subscriptions","organizations_url":"https://api.github.com/users/LuvDaSun/orgs","repos_url":"https://api.github.com/users/LuvDaSun/repos","events_url":"https://api.github.com/users/LuvDaSun/events{/privacy}","received_events_url":"https://api.github.com/users/LuvDaSun/received_events","type":"Organization","site_admin":false},"repo":{"id":10568769,"name":"angular-hal","full_name":"LuvDaSun/angular-hal","owner":{"login":"LuvDaSun","id":5626783,"avatar_url":"https://avatars.githubusercontent.com/u/5626783?v=3","gravatar_id":"","url":"https://api.github.com/users/LuvDaSun","html_url":"https://github.com/LuvDaSun","followers_url":"https://api.github.com/users/LuvDaSun/followers","following_url":"https://api.github.com/users/LuvDaSun/following{/other_user}","gists_url":"https://api.github.com/users/LuvDaSun/gists{/gist_id}","starred_url":"https://api.github.com/users/LuvDaSun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuvDaSun/subscriptions","organizations_url":"https://api.github.com/users/LuvDaSun/orgs","repos_url":"https://api.github.com/users/LuvDaSun/repos","events_url":"https://api.github.com/users/LuvDaSun/events{/privacy}","received_events_url":"https://api.github.com/users/LuvDaSun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LuvDaSun/angular-hal","description":"HAL client for angularjs","fork":false,"url":"https://api.github.com/repos/LuvDaSun/angular-hal","forks_url":"https://api.github.com/repos/LuvDaSun/angular-hal/forks","keys_url":"https://api.github.com/repos/LuvDaSun/angular-hal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuvDaSun/angular-hal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuvDaSun/angular-hal/teams","hooks_url":"https://api.github.com/repos/LuvDaSun/angular-hal/hooks","issue_events_url":"https://api.github.com/repos/LuvDaSun/angular-hal/issues/events{/number}","events_url":"https://api.github.com/repos/LuvDaSun/angular-hal/events","assignees_url":"https://api.github.com/repos/LuvDaSun/angular-hal/assignees{/user}","branches_url":"https://api.github.com/repos/LuvDaSun/angular-hal/branches{/branch}","tags_url":"https://api.github.com/repos/LuvDaSun/angular-hal/tags","blobs_url":"https://api.github.com/repos/LuvDaSun/angular-hal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuvDaSun/angular-hal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuvDaSun/angular-hal/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuvDaSun/angular-hal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuvDaSun/angular-hal/statuses/{sha}","languages_url":"https://api.github.com/repos/LuvDaSun/angular-hal/languages","stargazers_url":"https://api.github.com/repos/LuvDaSun/angular-hal/stargazers","contributors_url":"https://api.github.com/repos/LuvDaSun/angular-hal/contributors","subscribers_url":"https://api.github.com/repos/LuvDaSun/angular-hal/subscribers","subscription_url":"https://api.github.com/repos/LuvDaSun/angular-hal/subscription","commits_url":"https://api.github.com/repos/LuvDaSun/angular-hal/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuvDaSun/angular-hal/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuvDaSun/angular-hal/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuvDaSun/angular-hal/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuvDaSun/angular-hal/contents/{+path}","compare_url":"https://api.github.com/repos/LuvDaSun/angular-hal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuvDaSun/angular-hal/merges","archive_url":"https://api.github.com/repos/LuvDaSun/angular-hal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuvDaSun/angular-hal/downloads","issues_url":"https://api.github.com/repos/LuvDaSun/angular-hal/issues{/number}","pulls_url":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls{/number}","milestones_url":"https://api.github.com/repos/LuvDaSun/angular-hal/milestones{/number}","notifications_url":"https://api.github.com/repos/LuvDaSun/angular-hal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuvDaSun/angular-hal/labels{/name}","releases_url":"https://api.github.com/repos/LuvDaSun/angular-hal/releases{/id}","deployments_url":"https://api.github.com/repos/LuvDaSun/angular-hal/deployments","created_at":"2013-06-08T13:18:37Z","updated_at":"2016-01-30T18:27:17Z","pushed_at":"2016-02-05T07:56:52Z","git_url":"git://github.com/LuvDaSun/angular-hal.git","ssh_url":"git@github.com:LuvDaSun/angular-hal.git","clone_url":"https://github.com/LuvDaSun/angular-hal.git","svn_url":"https://github.com/LuvDaSun/angular-hal","homepage":"","size":95,"stargazers_count":91,"watchers_count":91,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":17,"forks":30,"open_issues":17,"watchers":91,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/34"},"html":{"href":"https://github.com/LuvDaSun/angular-hal/pull/34"},"issue":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/issues/34"},"comments":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/LuvDaSun/angular-hal/statuses/28f9e163189805ac2aa4c855a71506ff413c3b69"}}}}