anchor.diff:    Dependency Injection is a powerful pattern for managing code dependencies. 
     In this cookbook we will explore many of the features of Dependency Injection (DI) in Angular.
     
  -  依赖注入是一个强大的管理代码依赖链的架构模式。在这个“食谱”中，我们会讨论Angular依赖注入的许多特性。
  +  依赖注入是一个强大的管理代码依赖链的架构样板。在这个“食谱”中，我们会讨论Angular依赖注入的许多特性。
  +  
   <a id="toc"></a>
   :marked
     ## Table of contents
  
positive.code: :marked
    Now we can add a simpler, more meaningful parent provider to our components:
    
    现在我们就可以为我们的组件添加一个简单点的，更加直观的父级provider：
  +makeExample('cb-dependency-injection/ts/app/parent-finder.component.ts','alice-providers')(format='.')
  :marked
    We can do better. The current version of the helper function can only alias the `Parent` *class-interface*.
  
negative.code:   The imported Angular `provide` function creates an instance of 
    the Angular [Provider](../api/core/Provider-class.html) class.
    
    被导入的Angular `provide`函数新建一个Angular [供应商](../api/core/Provider-class.html)类的实例。
    
    The `provide` function takes a *token* and a *definition object*.
    The *token* is usually a class but [it doesn't have to be](#tokens).
  