$state. Go page does not refresh data
If you enter Market/beian/add add data, save the submission back Market/beian list page, do not automatically update the data, you have to manually pull down the refresh will come out
$state. Go ("Marketbeian", {},{reload:true});
Set up a routing controller
$statePrivider. State ({}) The parameter in this method is an object, where the Item property configuration is Cache:true/false, which defaults to true. In this case, it is configured to False, at this point, the state will not have a cache, you can implement each time you are in that State, refresh the page, it is equivalent to implement a forced flush.
. State (' Marketbeian ', {url: '/market/beian ', Templateurl: ' views/market/beian.html ', cache:false, Controller: ' Marketbeianctrl ', data: {title: ' job record Information Management '}}
Go back to the previous page: $ionicHistory.goBack(); 没有属性,记得在controller的function参数里加上$ionicHistory
How to implement a refresh please refer to:
Http://www.cnblogs.com/chenhuili/p/5005840.html
Ionic Page Direct Jump