router reload in angular code example Example: refresh page angular refresh(): void { window.location.reload(); }