AngularJS loggly service