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