Logger service provider for AngularJS