{"action":"created","comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments/47161727","id":47161727,"diff_hunk":"@@ -543,19 +547,21 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst\n   altInputFormats: []\n })\n \n-.controller('UibDatepickerPopupController', ['$scope', '$element', '$attrs', '$compile', '$parse', '$document', '$rootScope', '$uibPosition', 'dateFilter', 'uibDateParser', 'uibDatepickerPopupConfig', '$timeout',\n-function(scope, element, attrs, $compile, $parse, $document, $rootScope, $position, dateFilter, dateParser, datepickerPopupConfig, $timeout) {\n+.controller('UibDatepickerPopupController', ['$scope', '$element', '$attrs', '$compile', '$parse', '$document', '$rootScope', '$uibPosition', 'dateFilter', 'uibDateParser', 'uibDatepickerPopupConfig', '$timeout', '$log',\n+function(scope, element, attrs, $compile, $parse, $document, $rootScope, $position, dateFilter, dateParser, datepickerPopupConfig, $timeout, $log) {\n   var self = this;\n   var cache = {},\n     isHtml5DateInput = false;\n   var dateFormat, closeOnDateSelection, appendToBody, onOpenFocus,\n     datepickerPopupTemplateUrl, datepickerTemplateUrl, popupEl, datepickerEl,\n-    ngModel, $popup, altInputFormats;\n+    ngModel, ngModelOptions, $popup, altInputFormats;\n \n   scope.watchData = {};\n \n-  this.init = function(_ngModel_) {\n+  this.init = function(_ngModel_, _ngModelOptions_) {\n     ngModel = _ngModel_;\n+\n+    ngModelOptions = _ngModelOptions_ && _ngModelOptions_.$options || {};","path":"src/datepicker/datepicker.js","position":70,"original_position":70,"commit_id":"72c43c323c6e0f5901ca411dd383bf2dc540da00","original_commit_id":"72c43c323c6e0f5901ca411dd383bf2dc540da00","user":{"login":"jbarrus","id":1044815,"avatar_url":"https://avatars.githubusercontent.com/u/1044815?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarrus","html_url":"https://github.com/jbarrus","followers_url":"https://api.github.com/users/jbarrus/followers","following_url":"https://api.github.com/users/jbarrus/following{/other_user}","gists_url":"https://api.github.com/users/jbarrus/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarrus/subscriptions","organizations_url":"https://api.github.com/users/jbarrus/orgs","repos_url":"https://api.github.com/users/jbarrus/repos","events_url":"https://api.github.com/users/jbarrus/events{/privacy}","received_events_url":"https://api.github.com/users/jbarrus/received_events","type":"User","site_admin":false},"body":"Do you mean it's safe to access without checking?","created_at":"2015-12-09T22:23:08Z","updated_at":"2015-12-09T22:23:08Z","html_url":"https://github.com/angular-ui/bootstrap/pull/5044#discussion_r47161727","pull_request_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5044","_links":{"self":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments/47161727"},"html":{"href":"https://github.com/angular-ui/bootstrap/pull/5044#discussion_r47161727"},"pull_request":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5044"}}},"pull_request":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5044","id":53180342,"html_url":"https://github.com/angular-ui/bootstrap/pull/5044","diff_url":"https://github.com/angular-ui/bootstrap/pull/5044.diff","patch_url":"https://github.com/angular-ui/bootstrap/pull/5044.patch","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5044","number":5044,"state":"open","locked":false,"title":"feat(datepicker): ng-model-options: allowInvalid support","user":{"login":"jbarrus","id":1044815,"avatar_url":"https://avatars.githubusercontent.com/u/1044815?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarrus","html_url":"https://github.com/jbarrus","followers_url":"https://api.github.com/users/jbarrus/followers","following_url":"https://api.github.com/users/jbarrus/following{/other_user}","gists_url":"https://api.github.com/users/jbarrus/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarrus/subscriptions","organizations_url":"https://api.github.com/users/jbarrus/orgs","repos_url":"https://api.github.com/users/jbarrus/repos","events_url":"https://api.github.com/users/jbarrus/events{/privacy}","received_events_url":"https://api.github.com/users/jbarrus/received_events","type":"User","site_admin":false},"body":"Relevant issues - #4694, #4837 \r\n\r\nSomewhat based on https://github.com/davious/angular-ui-bootstrap/commit/cba7a614e37cdc34a56eaac8716af3d985b99b9d from @davious ","created_at":"2015-12-09T21:27:06Z","updated_at":"2015-12-09T22:23:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d5c4554350d5274e4e8251fde3515b34ec13afa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5044/commits","review_comments_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5044/comments","review_comment_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5044/comments","statuses_url":"https://api.github.com/repos/angular-ui/bootstrap/statuses/72c43c323c6e0f5901ca411dd383bf2dc540da00","head":{"label":"jbarrus:master","ref":"master","sha":"72c43c323c6e0f5901ca411dd383bf2dc540da00","user":{"login":"jbarrus","id":1044815,"avatar_url":"https://avatars.githubusercontent.com/u/1044815?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarrus","html_url":"https://github.com/jbarrus","followers_url":"https://api.github.com/users/jbarrus/followers","following_url":"https://api.github.com/users/jbarrus/following{/other_user}","gists_url":"https://api.github.com/users/jbarrus/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarrus/subscriptions","organizations_url":"https://api.github.com/users/jbarrus/orgs","repos_url":"https://api.github.com/users/jbarrus/repos","events_url":"https://api.github.com/users/jbarrus/events{/privacy}","received_events_url":"https://api.github.com/users/jbarrus/received_events","type":"User","site_admin":false},"repo":{"id":47719530,"name":"bootstrap","full_name":"jbarrus/bootstrap","owner":{"login":"jbarrus","id":1044815,"avatar_url":"https://avatars.githubusercontent.com/u/1044815?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarrus","html_url":"https://github.com/jbarrus","followers_url":"https://api.github.com/users/jbarrus/followers","following_url":"https://api.github.com/users/jbarrus/following{/other_user}","gists_url":"https://api.github.com/users/jbarrus/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarrus/subscriptions","organizations_url":"https://api.github.com/users/jbarrus/orgs","repos_url":"https://api.github.com/users/jbarrus/repos","events_url":"https://api.github.com/users/jbarrus/events{/privacy}","received_events_url":"https://api.github.com/users/jbarrus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbarrus/bootstrap","description":"Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!","fork":true,"url":"https://api.github.com/repos/jbarrus/bootstrap","forks_url":"https://api.github.com/repos/jbarrus/bootstrap/forks","keys_url":"https://api.github.com/repos/jbarrus/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbarrus/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbarrus/bootstrap/teams","hooks_url":"https://api.github.com/repos/jbarrus/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/jbarrus/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/jbarrus/bootstrap/events","assignees_url":"https://api.github.com/repos/jbarrus/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/jbarrus/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/jbarrus/bootstrap/tags","blobs_url":"https://api.github.com/repos/jbarrus/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbarrus/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbarrus/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbarrus/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbarrus/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/jbarrus/bootstrap/languages","stargazers_url":"https://api.github.com/repos/jbarrus/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/jbarrus/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/jbarrus/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/jbarrus/bootstrap/subscription","commits_url":"https://api.github.com/repos/jbarrus/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbarrus/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbarrus/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbarrus/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbarrus/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/jbarrus/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbarrus/bootstrap/merges","archive_url":"https://api.github.com/repos/jbarrus/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbarrus/bootstrap/downloads","issues_url":"https://api.github.com/repos/jbarrus/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/jbarrus/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/jbarrus/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/jbarrus/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbarrus/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/jbarrus/bootstrap/releases{/id}","created_at":"2015-12-09T21:17:32Z","updated_at":"2015-12-09T21:17:34Z","pushed_at":"2015-12-09T21:25:09Z","git_url":"git://github.com/jbarrus/bootstrap.git","ssh_url":"git@github.com:jbarrus/bootstrap.git","clone_url":"https://github.com/jbarrus/bootstrap.git","svn_url":"https://github.com/jbarrus/bootstrap","homepage":"http://angular-ui.github.io/bootstrap/","size":7509,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular-ui:master","ref":"master","sha":"3658502c7456571935c078dc8278dc297a876788","user":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"repo":{"id":6094683,"name":"bootstrap","full_name":"angular-ui/bootstrap","owner":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular-ui/bootstrap","description":"Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!","fork":false,"url":"https://api.github.com/repos/angular-ui/bootstrap","forks_url":"https://api.github.com/repos/angular-ui/bootstrap/forks","keys_url":"https://api.github.com/repos/angular-ui/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular-ui/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular-ui/bootstrap/teams","hooks_url":"https://api.github.com/repos/angular-ui/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/angular-ui/bootstrap/events","assignees_url":"https://api.github.com/repos/angular-ui/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/angular-ui/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/angular-ui/bootstrap/tags","blobs_url":"https://api.github.com/repos/angular-ui/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular-ui/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular-ui/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular-ui/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular-ui/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/angular-ui/bootstrap/languages","stargazers_url":"https://api.github.com/repos/angular-ui/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/angular-ui/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/angular-ui/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/angular-ui/bootstrap/subscription","commits_url":"https://api.github.com/repos/angular-ui/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular-ui/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular-ui/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/angular-ui/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular-ui/bootstrap/merges","archive_url":"https://api.github.com/repos/angular-ui/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular-ui/bootstrap/downloads","issues_url":"https://api.github.com/repos/angular-ui/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/angular-ui/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/angular-ui/bootstrap/releases{/id}","created_at":"2012-10-05T18:27:01Z","updated_at":"2015-12-09T16:29:08Z","pushed_at":"2015-12-09T21:27:07Z","git_url":"git://github.com/angular-ui/bootstrap.git","ssh_url":"git@github.com:angular-ui/bootstrap.git","clone_url":"https://github.com/angular-ui/bootstrap.git","svn_url":"https://github.com/angular-ui/bootstrap","homepage":"http://angular-ui.github.io/bootstrap/","size":13833,"stargazers_count":10970,"watchers_count":10970,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5688,"mirror_url":null,"open_issues_count":106,"forks":5688,"open_issues":106,"watchers":10970,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5044"},"html":{"href":"https://github.com/angular-ui/bootstrap/pull/5044"},"issue":{"href":"https://api.github.com/repos/angular-ui/bootstrap/issues/5044"},"comments":{"href":"https://api.github.com/repos/angular-ui/bootstrap/issues/5044/comments"},"review_comments":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5044/comments"},"review_comment":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/5044/commits"},"statuses":{"href":"https://api.github.com/repos/angular-ui/bootstrap/statuses/72c43c323c6e0f5901ca411dd383bf2dc540da00"}}}}