define ng-model on the datepicker element, not the parent div

* ng-model should be defined on the `<datepicker>` element to avoid this error:

Error: Non-assignable model expression: undefined (directive: datepicker)