[ ANGULAR ] Current URL import { Router } from '@angular/router'; constructor(private router: Router) { } ngOnInit() { const currentUrl = this.router.url; console.log('Current URL:', currentUrl); } FE/Angular HEON.D 2023.09.04