Put in order · Angular course · Module 4: Routing
Reading a parameter from the snapshot
Arrange on one line the read of the 'id' parameter from the route snapshot:
Items to put in order
- .snapshot
- .get('id')
- this.route
- .paramMap
You can check the correct answer by solving this task in the CodeWorlds game.