how to pass form data from one component to another in angular using a service code example
Example: send data from form to another page angular
this.router.navigate('/results', { state: result });
this.router.navigate('/results', { state: result });