Aktifkan Router Angular

  ngOnInit(): void {
    console.log("activated route", this.activatedRoute);
    this.activatedRoute.paramMap.subscribe(
      (params: any) => {
        console.log("in params", params);

        this.userid = params.get('id');
        console.log("in user id", this.userid);
        this.getProfile();
      }
    )
Enchanting Eel