{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3625","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3625/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3625/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3625/events","html_url":"https://github.com/angular-ui/bootstrap/pull/3625","id":73435657,"number":3625,"title":"Validating if markup options are really set in $scope","user":{"login":"kreigiron","id":1243595,"avatar_url":"https://avatars.githubusercontent.com/u/1243595?v=3","gravatar_id":"","url":"https://api.github.com/users/kreigiron","html_url":"https://github.com/kreigiron","followers_url":"https://api.github.com/users/kreigiron/followers","following_url":"https://api.github.com/users/kreigiron/following{/other_user}","gists_url":"https://api.github.com/users/kreigiron/gists{/gist_id}","starred_url":"https://api.github.com/users/kreigiron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreigiron/subscriptions","organizations_url":"https://api.github.com/users/kreigiron/orgs","repos_url":"https://api.github.com/users/kreigiron/repos","events_url":"https://api.github.com/users/kreigiron/events{/privacy}","received_events_url":"https://api.github.com/users/kreigiron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/component:%20datepicker","name":"component: datepicker","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/22","html_url":"https://github.com/angular-ui/bootstrap/milestones/0.13.2%20(1.4%20support)","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/22/labels","id":1220995,"number":22,"title":"0.13.2 (1.4 support)","description":"angular 1.4 support & minor enhancements/fixes","creator":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":30,"state":"open","created_at":"2015-07-22T20:10:59Z","updated_at":"2015-07-31T14:13:51Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-05-05T21:22:51Z","updated_at":"2015-07-31T14:15:12Z","closed_at":"2015-07-31T14:13:51Z","pull_request":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/3625","html_url":"https://github.com/angular-ui/bootstrap/pull/3625","diff_url":"https://github.com/angular-ui/bootstrap/pull/3625.diff","patch_url":"https://github.com/angular-ui/bootstrap/pull/3625.patch"},"body":"Validates if options are really set in $scope when <code> datepicker-options=\"options\"  </code> is given in markup, but no <code> $scope.options </code> exists.\r\n\r\notherwise it will throw an error like:\r\n<code>\r\nTypeError: Cannot read property 'initDate' of undefined\r\n    at link (http://localhost:3000/bower_components/angular-bootstrap/ui-bootstrap-tpls.js:1523:19)\r\n    at http://localhost:3000/bower_components/angular/angular.js:8252:44\r\n    at invokeLinkFn (http://localhost:3000/bower_components/angular/angular.js:8258:9)\r\n</code>\r\n...."},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/126705864","html_url":"https://github.com/angular-ui/bootstrap/pull/3625#issuecomment-126705864","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3625","id":126705864,"user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T14:15:12Z","updated_at":"2015-07-31T14:15:12Z","body":"I decided to merge as is - this is probably a better check to avoid mutating the value."}}