{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular.js/pulls/comments/87984849","pull_request_review_id":8508995,"id":87984849,"diff_hunk":"@@ -0,0 +1,768 @@\n+'use strict';\n+\n+/* globals generateInputCompilerHelper: false */\n+describe('ngModelOptions', function() {\n+\n+  describe('$defaultModelOptions', function() {\n+    it('should provide default values', function() {\n+      var defaults;\n+      inject(function($defaultModelOptions) {\n+        expect($defaultModelOptions.getOption('updateOn')).toEqual('');\n+        expect($defaultModelOptions.getOption('updateOnDefault')).toEqual(true);\n+        expect($defaultModelOptions.getOption('debounce')).toBe(0);\n+        expect($defaultModelOptions.getOption('getterSetter')).toBe(false);\n+        expect($defaultModelOptions.getOption('allowInvalid')).toBe(false);\n+        expect($defaultModelOptions.getOption('timezone')).toBe(null);\n+      });\n+    });\n+  });\n+\n+  describe('directive', function() {\n+\n+    var helper = {}, $rootScope, $compile, $timeout, $q;\n+\n+    generateInputCompilerHelper(helper);\n+\n+    beforeEach(inject(function(_$compile_, _$rootScope_, _$timeout_, _$q_) {\n+      $compile = _$compile_;\n+      $rootScope = _$rootScope_;\n+      $timeout = _$timeout_;\n+      $q = _$q_;\n+    }));\n+\n+\n+    describe('should fall back to `$defaultModelOptions`', function() {\n+      it('if there is no `ngModelOptions` directive', inject(function($defaultModelOptions) {\n+        var inputElm = helper.compileInput(\n+            '<input type=\"text\" ng-model=\"name\" name=\"alias\" />');\n+\n+        var inputOptions = $rootScope.form.alias.$options;\n+        expect(inputOptions.getOption('updateOn')).toEqual($defaultModelOptions.getOption('updateOn'));\n+        expect(inputOptions.getOption('updateOnDefault')).toEqual($defaultModelOptions.getOption('updateOnDefault'));\n+        expect(inputOptions.getOption('debounce')).toEqual($defaultModelOptions.getOption('debounce'));\n+        expect(inputOptions.getOption('getterSetter')).toEqual($defaultModelOptions.getOption('getterSetter'));\n+        expect(inputOptions.getOption('allowInvalid')).toEqual($defaultModelOptions.getOption('allowInvalid'));\n+      }));\n+\n+\n+      it('if `ngModelOptions` on the same element does not specify the option', inject(function($defaultModelOptions) {\n+        var inputElm = helper.compileInput(\n+            '<input type=\"text\" ng-model=\"name\" name=\"alias\" ng-model-options=\"{ updateOn: \\'blur\\' }\"/>');\n+\n+        var inputOptions = $rootScope.form.alias.$options;\n+        expect(inputOptions.getOption('debounce')).toEqual($defaultModelOptions.getOption('debounce'));\n+        expect(inputOptions.getOption('updateOnDefault')).toBe(false);\n+        expect(inputOptions.getOption('updateOnDefault')).not.toEqual($defaultModelOptions.getOption('updateOnDefault'));\n+      }));\n+\n+\n+      it('if the first `ngModelOptions` ancestor does not specify the option', inject(function($defaultModelOptions) {\n+        var form = $compile('<form name=\"form\" ng-model-options=\"{ updateOn: \\'blur\\' }\">' +\n+                                  '<input name=\"alias\" ng-model=\"x\">' +\n+                                '</form>')($rootScope);\n+        var inputOptions = $rootScope.form.alias.$options;\n+\n+        expect(inputOptions.getOption('debounce')).toEqual($defaultModelOptions.getOption('debounce'));\n+        expect(inputOptions.getOption('updateOnDefault')).toBe(false);\n+        expect(inputOptions.getOption('updateOnDefault')).not.toEqual($defaultModelOptions.getOption('updateOnDefault'));\n+        dealoc(form);\n+      }));\n+    });\n+\n+\n+    describe('sharing and inheritance', function() {\n+\n+      it('should not inherit options from ancestor `ngModelOptions` directives by default', function() {\n+        var container = $compile(\n+                  '<div ng-model-options=\"{ allowInvalid: true }\">' +\n+                    '<form ng-model-options=\"{ updateOn: \\'blur\\' }\">' +\n+                      '<input ng-model-options=\"{ updateOn: \\'default\\' }\">' +\n+                    '</form>' +\n+                  '</div>')($rootScope);\n+\n+        var form = container.find('form');\n+        var input = container.find('input');\n+\n+        var containerOptions = container.controller('ngModelOptions').$options;\n+        var formOptions = form.controller('ngModelOptions').$options;\n+        var inputOptions = input.controller('ngModelOptions').$options;\n+\n+        expect(containerOptions.getOption('allowInvalid')).toEqual(true);\n+        expect(formOptions.getOption('allowInvalid')).toEqual(false);\n+        expect(inputOptions.getOption('allowInvalid')).toEqual(false);\n+\n+        expect(containerOptions.getOption('updateOn')).toEqual('');\n+        expect(containerOptions.getOption('updateOnDefault')).toEqual(true);\n+        expect(formOptions.getOption('updateOn')).toEqual('blur');\n+        expect(formOptions.getOption('updateOnDefault')).toEqual(false);\n+        expect(inputOptions.getOption('updateOn')).toEqual('');\n+        expect(inputOptions.getOption('updateOnDefault')).toEqual(true);\n+\n+        dealoc(container);\n+      });\n+\n+      it('should inherit options that are marked with \"$inherit\" from the nearest ancestor `ngModelOptions` directive', function() {\n+        var container = $compile(\n+                  '<div ng-model-options=\"{ allowInvalid: true }\">' +\n+                    '<form ng-model-options=\"{ updateOn: \\'blur\\', allowInvalid: \\'$inherit\\' }\">' +\n+                      '<input ng-model-options=\"{ updateOn: \\'default\\' }\">' +\n+                    '</form>' +\n+                  '</div>')($rootScope);\n+\n+        var form = container.find('form');\n+        var input = container.find('input');\n+\n+        var containerOptions = container.controller('ngModelOptions').$options;\n+        var formOptions = form.controller('ngModelOptions').$options;\n+        var inputOptions = input.controller('ngModelOptions').$options;\n+\n+        expect(containerOptions.getOption('allowInvalid')).toEqual(true);\n+        expect(formOptions.getOption('allowInvalid')).toEqual(true);\n+        expect(inputOptions.getOption('allowInvalid')).toEqual(false);\n+\n+        expect(containerOptions.getOption('updateOn')).toEqual('');\n+        expect(containerOptions.getOption('updateOnDefault')).toEqual(true);\n+        expect(formOptions.getOption('updateOn')).toEqual('blur');\n+        expect(formOptions.getOption('updateOnDefault')).toEqual(false);\n+        expect(inputOptions.getOption('updateOn')).toEqual('');\n+        expect(inputOptions.getOption('updateOnDefault')).toEqual(true);\n+\n+        dealoc(container);\n+      });\n+\n+      it('should inherit all unspecified options if the options object contains a `\"*\"` property with value \"$inherit\"', function() {\n+        var container = $compile(\n+                  '<div ng-model-options=\"{ allowInvalid: true, debounce: 100, updateOn: \\'keyup\\' }\">' +\n+                    '<form ng-model-options=\"{ updateOn: \\'blur\\', \\'*\\': \\'$inherit\\' }\">' +\n+                      '<input ng-model-options=\"{ updateOn: \\'default\\' }\">' +\n+                    '</form>' +\n+                  '</div>')($rootScope);\n+\n+        var form = container.find('form');\n+        var input = container.find('input');\n+\n+        var containerOptions = container.controller('ngModelOptions').$options;\n+        var formOptions = form.controller('ngModelOptions').$options;\n+        var inputOptions = input.controller('ngModelOptions').$options;\n+\n+        expect(containerOptions.getOption('allowInvalid')).toEqual(true);\n+        expect(formOptions.getOption('allowInvalid')).toEqual(true);\n+        expect(inputOptions.getOption('allowInvalid')).toEqual(false);\n+\n+        expect(containerOptions.getOption('debounce')).toEqual(100);\n+        expect(formOptions.getOption('debounce')).toEqual(100);\n+        expect(inputOptions.getOption('debounce')).toEqual(0);\n+\n+        expect(containerOptions.getOption('updateOn')).toEqual('keyup');\n+        expect(containerOptions.getOption('updateOnDefault')).toEqual(false);\n+        expect(formOptions.getOption('updateOn')).toEqual('blur');\n+        expect(formOptions.getOption('updateOnDefault')).toEqual(false);\n+        expect(inputOptions.getOption('updateOn')).toEqual('');\n+        expect(inputOptions.getOption('updateOnDefault')).toEqual(true);\n+\n+        dealoc(container);\n+      });\n+\n+      it('should make a copy of the options object', function() {\n+        $rootScope.options = {updateOn: 'default'};\n+        var inputElm = helper.compileInput(\n+            '<input type=\"text\" ng-model=\"name\" name=\"alias\" ' +\n+              'ng-model-options=\"options\"' +\n+            '/>');\n+        expect($rootScope.options).toEqual({updateOn: 'default'});\n+        expect($rootScope.form.alias.$options).not.toBe($rootScope.options);\n+      });\n+\n+      it('should be retrieved from an ancestor element containing an `ngModelOptions` directive', function() {\n+        var doc = $compile(\n+            '<form name=\"test\" ' +\n+                'ng-model-options=\"{ debounce: 10000, updateOn: \\'blur\\' }\" >' +\n+              '<input type=\"text\" ng-model=\"name\" name=\"alias\" />' +\n+            '</form>')($rootScope);\n+        $rootScope.$digest();\n+\n+        var inputElm = doc.find('input').eq(0);","path":"test/ng/directive/ngModelOptionsSpec.js","position":184,"original_position":184,"commit_id":"898ba1a29bac9cdb8059d1af95f05b8b0ea84738","original_commit_id":"898ba1a29bac9cdb8059d1af95f05b8b0ea84738","user":{"login":"gkalpak","id":8604205,"avatar_url":"https://avatars.githubusercontent.com/u/8604205?v=3","gravatar_id":"","url":"https://api.github.com/users/gkalpak","html_url":"https://github.com/gkalpak","followers_url":"https://api.github.com/users/gkalpak/followers","following_url":"https://api.github.com/users/gkalpak/following{/other_user}","gists_url":"https://api.github.com/users/gkalpak/gists{/gist_id}","starred_url":"https://api.github.com/users/gkalpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkalpak/subscriptions","organizations_url":"https://api.github.com/users/gkalpak/orgs","repos_url":"https://api.github.com/users/gkalpak/repos","events_url":"https://api.github.com/users/gkalpak/events{/privacy}","received_events_url":"https://api.github.com/users/gkalpak/received_events","type":"User","site_admin":false},"body":"Nit: Isn't `.eq(0)` redundant?","created_at":"2016-11-15T10:11:59Z","updated_at":"2016-11-15T10:16:25Z","html_url":"https://github.com/angular/angular.js/pull/15389#discussion_r87984849","pull_request_url":"https://api.github.com/repos/angular/angular.js/pulls/15389","_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments/87984849"},"html":{"href":"https://github.com/angular/angular.js/pull/15389#discussion_r87984849"},"pull_request":{"href":"https://api.github.com/repos/angular/angular.js/pulls/15389"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/15389","id":93628353,"html_url":"https://github.com/angular/angular.js/pull/15389","diff_url":"https://github.com/angular/angular.js/pull/15389.diff","patch_url":"https://github.com/angular/angular.js/pull/15389.patch","issue_url":"https://api.github.com/repos/angular/angular.js/issues/15389","number":15389,"state":"open","locked":false,"title":"Ng model options extend","user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"body":"**What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)**\r\n\r\nfeat\r\n\r\n**What is the current behavior? (You can also link to an open issue here)**\r\n\r\n`ngModelOptions` cannot be inherited from ancestor `ngModelOptions`\r\n\r\n**What is the new behavior (if this is a feature change)?**\r\n\r\n`ngModelOptions` can inherit if specified via `$inherit` values\r\n\r\n**Does this PR introduce a breaking change?**\r\n\r\nA small internal-ish change to the programmatic API for reading options.\r\n\r\n**Please check if the PR fulfills these requirements**\r\n- [x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format\r\n- [x] Tests for the changes have been added (for bug fixes / features)\r\n- [x] Docs have been added / updated (for bug fixes / features)\r\n\r\n**Other information**:\r\n\r\n","created_at":"2016-11-14T19:15:18Z","updated_at":"2016-11-15T10:16:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd006aa1e208060f929bfb34ebc6b091b25c130d","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/129","html_url":"https://github.com/angular/angular.js/milestones/1.6.0-rc.1","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/129/labels","id":2095800,"number":129,"title":"1.6.0-rc.1","description":"","creator":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":6,"state":"open","created_at":"2016-10-26T20:23:57Z","updated_at":"2016-11-14T19:17:56Z","due_on":"2016-11-02T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/angular/angular.js/pulls/15389/commits","review_comments_url":"https://api.github.com/repos/angular/angular.js/pulls/15389/comments","review_comment_url":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/15389/comments","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/898ba1a29bac9cdb8059d1af95f05b8b0ea84738","head":{"label":"petebacondarwin:ng-model-options-extend","ref":"ng-model-options-extend","sha":"898ba1a29bac9cdb8059d1af95f05b8b0ea84738","user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"repo":{"id":6367749,"name":"angular.js","full_name":"petebacondarwin/angular.js","owner":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petebacondarwin/angular.js","description":null,"fork":true,"url":"https://api.github.com/repos/petebacondarwin/angular.js","forks_url":"https://api.github.com/repos/petebacondarwin/angular.js/forks","keys_url":"https://api.github.com/repos/petebacondarwin/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petebacondarwin/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petebacondarwin/angular.js/teams","hooks_url":"https://api.github.com/repos/petebacondarwin/angular.js/hooks","issue_events_url":"https://api.github.com/repos/petebacondarwin/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/petebacondarwin/angular.js/events","assignees_url":"https://api.github.com/repos/petebacondarwin/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/petebacondarwin/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/petebacondarwin/angular.js/tags","blobs_url":"https://api.github.com/repos/petebacondarwin/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petebacondarwin/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petebacondarwin/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/petebacondarwin/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petebacondarwin/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/petebacondarwin/angular.js/languages","stargazers_url":"https://api.github.com/repos/petebacondarwin/angular.js/stargazers","contributors_url":"https://api.github.com/repos/petebacondarwin/angular.js/contributors","subscribers_url":"https://api.github.com/repos/petebacondarwin/angular.js/subscribers","subscription_url":"https://api.github.com/repos/petebacondarwin/angular.js/subscription","commits_url":"https://api.github.com/repos/petebacondarwin/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/petebacondarwin/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/petebacondarwin/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/petebacondarwin/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/petebacondarwin/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/petebacondarwin/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petebacondarwin/angular.js/merges","archive_url":"https://api.github.com/repos/petebacondarwin/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petebacondarwin/angular.js/downloads","issues_url":"https://api.github.com/repos/petebacondarwin/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/petebacondarwin/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/petebacondarwin/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/petebacondarwin/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petebacondarwin/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/petebacondarwin/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/petebacondarwin/angular.js/deployments","created_at":"2012-10-24T09:47:23Z","updated_at":"2015-05-19T08:10:36Z","pushed_at":"2016-11-14T19:09:22Z","git_url":"git://github.com/petebacondarwin/angular.js.git","ssh_url":"git@github.com:petebacondarwin/angular.js.git","clone_url":"https://github.com/petebacondarwin/angular.js.git","svn_url":"https://github.com/petebacondarwin/angular.js","homepage":"http://angularjs.org","size":90079,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"5419201a3c121a80c43f0f585da0214a5115bad6","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":460078,"name":"angular.js","full_name":"angular/angular.js","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular.js","description":"HTML enhanced for web apps","fork":false,"url":"https://api.github.com/repos/angular/angular.js","forks_url":"https://api.github.com/repos/angular/angular.js/forks","keys_url":"https://api.github.com/repos/angular/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.js/teams","hooks_url":"https://api.github.com/repos/angular/angular.js/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.js/events","assignees_url":"https://api.github.com/repos/angular/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.js/tags","blobs_url":"https://api.github.com/repos/angular/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.js/languages","stargazers_url":"https://api.github.com/repos/angular/angular.js/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.js/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.js/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.js/subscription","commits_url":"https://api.github.com/repos/angular/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.js/merges","archive_url":"https://api.github.com/repos/angular/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.js/downloads","issues_url":"https://api.github.com/repos/angular/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular.js/deployments","created_at":"2010-01-06T00:34:37Z","updated_at":"2016-11-15T10:13:11Z","pushed_at":"2016-11-15T09:03:38Z","git_url":"git://github.com/angular/angular.js.git","ssh_url":"git@github.com:angular/angular.js.git","clone_url":"https://github.com/angular/angular.js.git","svn_url":"https://github.com/angular/angular.js","homepage":"http://angularjs.org","size":185989,"stargazers_count":53326,"watchers_count":53326,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26371,"mirror_url":null,"open_issues_count":852,"forks":26371,"open_issues":852,"watchers":53326,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/15389"},"html":{"href":"https://github.com/angular/angular.js/pull/15389"},"issue":{"href":"https://api.github.com/repos/angular/angular.js/issues/15389"},"comments":{"href":"https://api.github.com/repos/angular/angular.js/issues/15389/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.js/pulls/15389/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.js/pulls/15389/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.js/statuses/898ba1a29bac9cdb8059d1af95f05b8b0ea84738"}}}}
{"actor":{"display_login":"gkalpak"}}