angular-ui/ui-router — pull request #73 by ProLoser (2013-08-28 03:01:31+00:00)
Title: Resolve can't inject value from parent resolve

I have a parent and child state, parent resolves some value (via ajax), then the child resolve uses that value to calculate more values.

Looks like I can't do it with the current implementation? What alternatives do I have here?

```
$stateProvider.state('chromeTabs', {
abstract: true,
resolve:{
tabs: function(){
return [{url:"fghfgh"},{}];
}]
}
});

$stateProvider.state('chromeTabs.tabContent', {
url: '/tab/{tabId}',
template: 'resources/templates/IframeTemplate.html',
resolve:{
iframeUrl: ['tabs', function(tabs){
// tabsProvider not found
return tabs[0].url;
}]
},
```