how to send entire object data through navigation code example
Example: router navigate pass params
this.router.navigate(['action-selection'], { state: { example: 'bar' } });
...
constructor(private router: Router) {
console.log(this.router.getCurrentNavigation().extras.state.example);
// should log out 'bar'
}