You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the resolve map of a state is defined as follows:
resolve: {
value: 'foo'
}
then 'foo' is supposed to be an alias to a service, that will be called by ui-router, and return a value or a promise. However, that doesn't work ( Link to plunkr).
When the resolve map of a state is defined as follows:
then 'foo' is supposed to be an alias to a service, that will be called by ui-router, and return a value or a promise. However, that doesn't work (
Link to plunkr).
The line 130 of angular-ui-router.js is suspect:
Indeed, instead of getting the service from the $injector using the value of the map attribute, it gets it using the key.
I think the following lines:
should be replaced with:
The text was updated successfully, but these errors were encountered: