adds angular  and promise support to service calls