
p.location-badge.
  exported from <a href='../core'>angular2/core</a>
  defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.37/modules/angular2/src/core/compiler/component_url_mapper.ts#L4-L24">angular2/src/core/compiler/component_url_mapper.ts (line 4)</a>

:markdown
  Resolve a `Type` from a <a href='ComponentMetadata-class.html'><code>ComponentMetadata</code></a> into a URL.
  
  This interface can be overridden by the application developer to create custom behavior.
  
  See <a href='Compiler-interface.html'><code>Compiler</code></a>
  
  

.l-main-section
  h2 Annotations
  .l-sub-section
    h3.annotation Injectable
    pre.prettyprint
      code.
        @Injectable()


.l-main-section
  h2 Members
  .l-sub-section
    h3#getUrl getUrl

    
    pre.prettyprint
      code.
        getUrl(component: Type)
    
    :markdown
      Returns the base URL to the component source file.
      The returned URL could be:
      - an absolute URL,
      - a path relative to the application
      
      




