send data from form to another page angular

JavaScript
this.router.navigate('/results', { state: result });

Source

Also in JavaScript: