We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parent resolved resources can be used in child controllers, but seems to be not available to child resolve :
app.config(function ($stateProvider) { $stateProvider.state('A', { template: "State A : {{resA.value}} <ui-view>", resolve: { resA: function () { return { 'value': 'A' }; } }, controller: function ($scope, resA) { $scope.resA = resA; } }); $stateProvider.state('A.B', { template: ":: State A.B {{resB.value}} ", resolve: { resB: function (resA) { return { 'value': resA.value + '.B' }; } }, controller: function ($scope, resA, resB) { $scope.resB = resB; $scope.resAA = resA; } }); });
this raises an unknown provider resAProvider : http://jsfiddle.net/jmbarbier/6Qd4L/
this could be useful if possible to get resolved values available to child resolves..
The text was updated successfully, but these errors were encountered:
Sorry, duplicate with #73
Sorry, something went wrong.
May have been a duplicate but was perfect for documentation. Thanks!
No branches or pull requests
Parent resolved resources can be used in child controllers, but seems to be not available to child resolve :
this raises an unknown provider resAProvider : http://jsfiddle.net/jmbarbier/6Qd4L/
this could be useful if possible to get resolved values available to child resolves..
The text was updated successfully, but these errors were encountered: