I know how to create multiple resolve classes for a route but I don't know how to pass the result of one resolve to another resolve.

```
// Example Route
{
  path: 'book/:id',
  component: BookComponent,
  resolve: {
    document: BookResolve,
    title: BookTitleResolve
  }
}

```

If the **BookResolve** returns a book object, how can you pass that book object to the **BookTitleResolve**?

I have a title service that looks for the key **title** in data. I need to be able to generate the book title from the book object. This needs to be dynamic.