Angularjs service for using Postaljs