Answers for "angular routing after refresh navigate to another url"

0

navigate to route and refresh angular 6

this.router.navigate(['path/to'])
  .then(() => {
    window.location.reload();
  });
Posted by: Guest on April-29-2020
0

how to navigate without realoding angular

import { Location } from '@angular/common';

constructor(private location: Location) { }

this.location.replaceState('/profile');
Posted by: Guest on January-05-2021

Code answers related to "angular routing after refresh navigate to another url"

Code answers related to "Javascript"

Browse Popular Code Answers by Language