Refresh a page when ever user wanted


#1

I want have to three dots in the top right corner in all the pages of my app.
Here is the sample picture of it:

when i click on 3 dots it has to pop up a menu showing refresh option in it, now when i click refresh button, the page has to get refreshed. Can anyone please help me out in this.

Thanks in advance.


#2
$window.location.reload();

Is this what you wanted?


#3

Hi,

Actually i want that 3 dot style icon button, when clicked on that, it should pop up menu with refresh button as option and on clicking refresh button, the page should get refreshed.
How to implement this using ionic framework.

See sample image which i uploaded, u may get idea.

Thankyou