1

I am trying to get the previous route path in Angular, But I don't know how to do that.

I know we can get the previous page location using

   this.location.back();

But I don't know how to get the route path like:

   /dashboard
Muhammed Albarmavi
  • 21,124
  • 5
  • 55
  • 80
kumkum kumkum
  • 89
  • 1
  • 6
  • 2
    Does this answer your question? [How to go back last page](https://stackoverflow.com/questions/35446955/how-to-go-back-last-page) – lovis91 Aug 25 '20 at 08:13

0 Answers0