{"action":"created","issue":{"url":"https://api.github.com/repos/arca-computing/MultipleDatePicker/issues/50","repository_url":"https://api.github.com/repos/arca-computing/MultipleDatePicker","labels_url":"https://api.github.com/repos/arca-computing/MultipleDatePicker/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/arca-computing/MultipleDatePicker/issues/50/comments","events_url":"https://api.github.com/repos/arca-computing/MultipleDatePicker/issues/50/events","html_url":"https://github.com/arca-computing/MultipleDatePicker/issues/50","id":153643642,"number":50,"title":"ng-model","user":{"login":"rohdef","id":279341,"avatar_url":"https://avatars.githubusercontent.com/u/279341?v=3","gravatar_id":"","url":"https://api.github.com/users/rohdef","html_url":"https://github.com/rohdef","followers_url":"https://api.github.com/users/rohdef/followers","following_url":"https://api.github.com/users/rohdef/following{/other_user}","gists_url":"https://api.github.com/users/rohdef/gists{/gist_id}","starred_url":"https://api.github.com/users/rohdef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohdef/subscriptions","organizations_url":"https://api.github.com/users/rohdef/orgs","repos_url":"https://api.github.com/users/rohdef/repos","events_url":"https://api.github.com/users/rohdef/events{/privacy}","received_events_url":"https://api.github.com/users/rohdef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-08T08:24:58Z","updated_at":"2016-05-09T07:13:34Z","closed_at":null,"body":"Hey so far it's looking quite good. A good phrase to consider when designing an api of some kind is:\r\n\r\n\"Have you used it in anger, yet\", basically meaning can you get it  to work easily and fast without any issues (eg you could look here http://homepages.inf.ed.ac.uk/wadler/topics/functional-programming.html). Does it work easily and as expected when you're stressed and do not have the time to read the documentation.\r\n\r\nHowever, good as the start is, there is some things to be desired. I have spent +15 mins on your documentation and I still do not know how I'm supposed to bind the dates to my model or get the selected dates. The closest I've come is an event for when one selects the dates.\r\n\r\nMy first request falls on the way of using the MultipleDatePicker. As an Angular user I expect it to have the ng-model attribute to bind the pickers moment objects to my model, probably through an array. May I kindly suggest you add this, as it will greatly improve the experience from angular users, especially those \"using it in anger\"."},"comment":{"url":"https://api.github.com/repos/arca-computing/MultipleDatePicker/issues/comments/217791716","html_url":"https://github.com/arca-computing/MultipleDatePicker/issues/50#issuecomment-217791716","issue_url":"https://api.github.com/repos/arca-computing/MultipleDatePicker/issues/50","id":217791716,"user":{"login":"mgohin","id":3430304,"avatar_url":"https://avatars.githubusercontent.com/u/3430304?v=3","gravatar_id":"","url":"https://api.github.com/users/mgohin","html_url":"https://github.com/mgohin","followers_url":"https://api.github.com/users/mgohin/followers","following_url":"https://api.github.com/users/mgohin/following{/other_user}","gists_url":"https://api.github.com/users/mgohin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgohin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgohin/subscriptions","organizations_url":"https://api.github.com/users/mgohin/orgs","repos_url":"https://api.github.com/users/mgohin/repos","events_url":"https://api.github.com/users/mgohin/events{/privacy}","received_events_url":"https://api.github.com/users/mgohin/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T07:13:34Z","updated_at":"2016-05-09T07:13:34Z","body":"Hi,\r\n\r\nthanks for all you suggestions. You are right, I don't know why I didn't use `ng-model` in the first place.\r\nI'll probably upgrade the directive to a new level 2.0 with that kind of changes, will change the demo page too.\r\n\r\nLet me some time to do it, I work all week days so I need to find some time to do it ;)"}}