AngularJS service which with you can use Winston.