An AngularJs service that provides a convenience wrapper around sending and receiving messages from parent frame