1 | initial version |
To add an Angular back button to the stack router outlet in Chrome, you can follow the below steps:
import { Location } from '@angular/common';
constructor(private location: Location) { }
goBack() {
this.location.back();
}
goBack()
method<button (click)="goBack()">Back</button>
With these steps, you should be able to add a back button to your stack route outlet in Chrome.