angular-ui-router isn't fulfilling state resolve promises when page refreshes or deep linked
- 阅读更多 关于 angular-ui-router isn't fulfilling state resolve promises when page refreshes or deep linked
问题 Using AngularJS 1.2.16, ui-router, and Restangular (for API services), I have an abstract state with a child state that uses multiple views. The child view accepts a URL parameter (via $stateParams) and a resolve to fetch the record from an API based on the given ID passed via the URL. All works perfectly as you navigate throughout the site, however if you are on the given page and refresh it (Command/Ctrl+r or clicking the refresh button) or load the page directly by hitting the deep link