angularjs: allow $q.when to be called w/o args

The current definition does not cover the case that the input type is void.
build failed. Should be `ePromise: ng.IPromise<void> = $q.when();`