auto refresh page in angular 8 code example Example: how to refresh page angular refresh(): void { window.location.reload(); }