Load Data Based on Angular Route Params
You can load resource based on the url using the a combination of
ActivatedRoute and Angular’s
Http service. Since the params and
Http are both streams, you can use RxJS to get the data off the param then
switchMap over to an
Http request using that data.