AngularJS provider and service for Pusher