Angular's Google Analytics API implementation