fix: modify fa-pipe-from and fa-pipe-to to unbind their event listeners when their scopes are destroyed

Wraps common logic for fa-pipe-from and fa-pipe-to in a service