send parameters in angular without url code example
Example: angular url parameter
// example url: details?id=2
constructor(private activatedRoute: ActivatedRoute) {
this.activatedRoute.queryParams.subscribe(params => {
console.log(params); // Prints {id: "2"}
});
}