title: Scala Guice how to inject configuration parameter as string?
body: <p>I found the following code in Java explaining how to nicely inject your configuration parameter as annotated string parameters using guice.
  <a href="https://github.com/google/guice/wiki/FrequentlyAskedQuestions" rel="nofollow noreferrer">https://github.com/google/guice/wiki/FrequentlyAskedQuestions</a></p>
  
  <p>I would like to do the same thing but in scala.
  How would you do it?</p>
  
  <p>And note I'm looking for a solution working with generic trait/class. Something for</p>
  
  <pre><code>trait Foo[T &lt;- SomeOtherType] {}
  class FooImpl[T &lt;- SomeOtherType](val url: String) extend Foo[T] {}
  </code></pre>
  
  <p>I looked into assisted injection but can't figure it out for my issue.</p>
  
  <p>Any help will be much appreciated.
  Thanks</p>