阅读背景:

如何让Angularjs中的控制器刷新?

来源:互联网 

I'm using Ionic Framework for an app and am sticking on one part. In my app I have a Favourites view, which displays a list of items that a user has favourited elsewhere in the app. The problem is, the code in the controller is only run once the first time the Favourites route is hit. If a user then adds a favourite somewhere else in the app, then goes back to the Favourites view, the list isn't regenerated.I'm using Ionic Framework for an app and am sti




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: