title: Is it possible to get name of the interface as a string?
body: <p>Consider I have exported interface</p>
  
  <pre><code>export interface IMyAngularService{
  }
  </code></pre>
  
  <p>When we register service or factory we usually use function name as a name of registered service or simply derivable string (e.g. 'ISomeService' -> 'SomeService');</p>
  
  <p>Later I can decide to rename interface and would like dependencies descriptions to change automatically:</p>
  
  <pre><code>class MyController{
  
      static $inject = [
          dependency(nameof&lt;ISomeService1&gt;),
          dependency(nameof&lt;ISomeService2&gt;)
      ];
  
      constructor(...dependencies){
      }
  }
  </code></pre>
  
  <p>where <code>dependency</code> function conventionally gets service name from interface name. Thus whenever name of <code>ISomeService1</code> is changed, resulting JavaScript contains changed strings.</p>