fix: Replacing timeout with interval for compatibility with Protractor

In order to test an application that includes the datepicker using Protractor, $timeout has been replaced with $interval.  In the case of datepicker, this was a small, straightforward change.