Answers for "how to get the route info when we go to menu route from another route or directly to that route angular"

1

angular go to route

import {Router} from '@angular/router';

constructor(private router: Router) {}

navigateToLogin() {
   this.router.navigateByUrl('/login');
}
Posted by: Guest on March-22-2021

Code answers related to "how to get the route info when we go to menu route from another route or directly to that route angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language