This page demonstrates a query parameters based search using Angular's built-in routerLink
directive and its
queryParams
input.
Fill the form, hit the Search button and then observe the address bar of your browser. If you reload the page with the parameters, you will see that the form will be populated automatically. We also added an output window so you can observe the query parameters object.
This method can be used for implementing Advanced search mechanics as well as Filtering similar to the products filtering that you can find in most eCommerce websites.