Return to site

ANGULAR: How can we pass parameter in Routing?

· github,fullstack

1. On the html page, use like:


2. After that, in component (.ts) file:
a) Inject ActivatedRoute in constructor like:


b) After that, use like:



All Posts

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!