阅读背景:

如何缓存AngularJS ui-router解析?

来源:互联网 

Not sure if this is the best way to state the question but I only want the resolve to run once when I change the state. This is because I have multiple tabs and I need to use an AJAX call to get the data for the template. So when you click on a tab, I will store that information into the $scope. But I don't want to keep making this call if the user switches to another tab and goes back.Not sure if this is the best way to state the q




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

分享到: