capturing and accessing route parameters using routeParams service.