I have a module class with the following signature:

```
class SilhouetteModule extends AbstractModule with ScalaModule {

```

I would like to inject configuration:

```
class SilhouetteModule @Inject() (configuration: Configuration) extends AbstractModule with ScalaModule {

```

But it fails with the following error.

```
No valid constructors
Module [modules.SilhouetteModule] cannot be instantiated.

```

The Play documentation mentions that 

> 
> In most cases, if you need to access Configuration when you create a component, you should inject the Configuration object into the component itself or... 
> 
> 
> 

, but I can't figure out how to do it successfully. So the question is, how do I inject a dependency into a module class in Play 2.5?