1. 7
    Forward URL parameters to an Angular Service to retrieve the desired data
    3m 59s

Forward URL parameters to an Angular Service to retrieve the desired data

Share this video with your friends

Send Tweet

One of the most common patterns is to read some kind of ID from a URL parameter and invoke an Angular Service which in turn fetches the data based on the parameters. In this lesson we’ll take a look how we can get the data from the URL and forward it to the Angular service. We will also learn how to leverage RxJS operators to make our code more readable.