
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/di/metadata.ts#L105-L137">angular2/src/core/di/metadata.ts (line 105)</a>

:markdown
  Specifies that the dependency resolution should start from the parent injector.
  
  ## Example
  
  
  ```
  class Service {}
  
  class ParentService implements Service {
  }
  
  class ChildService implements Service {
    constructor(public @SkipSelf() parentService:Service) {}
  }
  
  var parent = Injector.resolveAndCreate([
    bind(Service).toClass(ParentService)
  ]);
  var child = parent.resolveAndCreateChild([
    bind(Service).toClass(ChildSerice)
  ]);
  var s = child.get(Service);
  expect(s).toBeAnInstanceOf(ChildService);
  expect(s.parentService).toBeAnInstanceOf(ParentService);
  ```
  
  

.l-main-section
  h2 Annotations
.l-main-section
  h2 Members
  .l-sub-section
    h3#toString toString

    
    pre.prettyprint
      code.
        toString()
    
    :markdown




