I am new to angular 4 using typescript, how can we differentiate forward
and backward button in the browser.
this.subscription = <Subscription>this.lc.subscribe((x: PopStateEvent) => {
console.log("Localtion Back", x);
// // Handler });
how to come out of the application stack:usecase
assume user started with google.com then user type abc.com . In abc.com, user
will navigate a>b>c>d>e then from e page navigate to b and if the user press
browser
back button first time it should navigate to a thn second time back it should
come back to google.com
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" 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.