I am working on single page application using angularjs 1.5 version , I
have 5 pages / screens (components) in my application and have a
component called Product Detail component and user can navigate to this
component from any of these pages/ screens. In Product Detail component
screen I have a back button and user can navigate back to previous screen.
Ex:1) User navigates from Page1 to Product Detail component and clicks on
back button should navigate to Page1
1) User navigates from Page5 to Product Detail component and clicks on
back button should navigate to Page5 ....etc
My question is how can I know from which component user navigated
to Product Detail component and clicking on back button should navigate
back to previous screen ( Page1 / Page2 /Page3 /Page4 /Page5 ) .How can I
achieve this using component router ?
Any help would be appreciated.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.