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
  • 23,240
  • 8
  • 66
  • 91
kumkum kumkum
  • 99
  • 1
  • 2
  • 8
  • 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