fix(closure): add missing services - $resource, $logProvider, $httpProvider
fix(closure): change Promise to a generic (template) type