A minimal AngularJS logger