Problem with directive "require" property affecting all inputs 

fixed ngModel declaration to be optional so it fits default requirement of angular "input" directive definition. Declaring a required ngModel in this module had a side effect on all inputs in application, even if they are not related to the datepicker.

also the test was broken because of momentjs that was not properly included