Hello i am working on onsen ui and have made a simple demo,it contains two pages page1 and page 2,my problem is i want to reload my page1 when i press ons-back-button from page2,as onsen ui maintains a pagestack,i cant do this,i searched a lot for this,but no luck,can anyone please help me how to do this?
my code is as below:
page1.html
<ons-page ng-controller="listingController">
.
.
.
</ons-page>
page2.html
<ons-page ng-controller="listingController">
<ons-toolbar style="background: #da1e3e;" fixed-style>
<div class="left">
<ons-back-button >Back</ons-back-button>
</div>
</ons-toolbar>
<ons-page>