0 votes
92 views
in MEAN by (0 points)
closed by
Scenario:

Assume that you have been assigned with a task of including a checkout page in an online shopping portal. The portal allows users to browse through the product catalogue and add items to the cart.

The checkout page must allow users to view the items added so far in the cart and add/remove items. On clicking the Checkout button, user should be redirected to the payment page. As of now, the cart array is maintained in a Cart service.

Question:

The Checkout page needs to redirect the user to Payment page on clicking the Make Payment button. The bill amount was passed as a Route parameter. Which of the below services in Angular does the Payment page needs to use to extract the route params?
closed

1 Answer

0 votes
by (0 points)
 
Best answer
RouteParams

Related questions

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...