angular pass params code example Example: angular pass params this._Activatedroute.paramMap.subscribe(params => { this.id = params.get('id'); });