{"action":"created","issue":{"url":"https://api.github.com/repos/spongessuck/gm.datepickerMultiSelect/issues/26","labels_url":"https://api.github.com/repos/spongessuck/gm.datepickerMultiSelect/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/spongessuck/gm.datepickerMultiSelect/issues/26/comments","events_url":"https://api.github.com/repos/spongessuck/gm.datepickerMultiSelect/issues/26/events","html_url":"https://github.com/spongessuck/gm.datepickerMultiSelect/issues/26","id":110654286,"number":26,"title":"How to access the range dates in the controller","user":{"login":"pucchur","id":3825401,"avatar_url":"https://avatars.githubusercontent.com/u/3825401?v=3","gravatar_id":"","url":"https://api.github.com/users/pucchur","html_url":"https://github.com/pucchur","followers_url":"https://api.github.com/users/pucchur/followers","following_url":"https://api.github.com/users/pucchur/following{/other_user}","gists_url":"https://api.github.com/users/pucchur/gists{/gist_id}","starred_url":"https://api.github.com/users/pucchur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pucchur/subscriptions","organizations_url":"https://api.github.com/users/pucchur/orgs","repos_url":"https://api.github.com/users/pucchur/repos","events_url":"https://api.github.com/users/pucchur/events{/privacy}","received_events_url":"https://api.github.com/users/pucchur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-09T13:02:36Z","updated_at":"2015-10-12T15:19:42Z","closed_at":"2015-10-12T15:19:42Z","body":"Apologies for the dumb question but I am not able to access the dates in the controller AppCtrl from this example http://plnkr.co/edit/KMxadj?p=preview"},"comment":{"url":"https://api.github.com/repos/spongessuck/gm.datepickerMultiSelect/issues/comments/147432835","html_url":"https://github.com/spongessuck/gm.datepickerMultiSelect/issues/26#issuecomment-147432835","issue_url":"https://api.github.com/repos/spongessuck/gm.datepickerMultiSelect/issues/26","id":147432835,"user":{"login":"spongessuck","id":6370382,"avatar_url":"https://avatars.githubusercontent.com/u/6370382?v=3","gravatar_id":"","url":"https://api.github.com/users/spongessuck","html_url":"https://github.com/spongessuck","followers_url":"https://api.github.com/users/spongessuck/followers","following_url":"https://api.github.com/users/spongessuck/following{/other_user}","gists_url":"https://api.github.com/users/spongessuck/gists{/gist_id}","starred_url":"https://api.github.com/users/spongessuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spongessuck/subscriptions","organizations_url":"https://api.github.com/users/spongessuck/orgs","repos_url":"https://api.github.com/users/spongessuck/repos","events_url":"https://api.github.com/users/spongessuck/events{/privacy}","received_events_url":"https://api.github.com/users/spongessuck/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T15:19:42Z","updated_at":"2015-10-12T15:19:42Z","body":"You can access them from the `selectedDates` array individually, but they aren't assigned to any variables by default.\r\n\r\n    var startDate = Math.min.apply(null, $scope.selectedDates);\r\n    var endDate = Math.max.apply(null, $scope.selectedDates);"}}