Right about `Date` instead of `copy`. I will add the comment in the code, but the use case is that scope.model may be `null` and setting hours throws error. So I used the `selected` to update it. A better state probably is:

````javascript
if (scope.model === null) {
   scope.model = new Date( selected );
}
```