Added service wrappers for global objects.

Using built-in $q promise object.