anchor.diff:    ## 指令概览
     
     There are three kinds of directives in Angular:
  +
     在Angular中有三种类型的指令：
     
     1. Components&mdash;directives with a template.
  
positive.code: 
    *Attribute directives* are used as attributes of elements. The built-in [NgStyle](template-syntax.html#ngStyle) directive in the [Template Syntax](template-syntax.html) page, for example,
    can change several element styles at the same time.
    *属性型*指令改变一个元素的外观或行为。比如，内置的[NgStyle](template-syntax.html#ngStyle)指令可以同时修改元素的多种样式。
  
  .l-main-section
  
negative.code: +makeExample('attribute-directives/ts/app/app.component.1.html',null,'app/app.component.html')(format=".")
  :marked
    Now reference this template in the `AppComponent`:
  
    现在，引用`AppComponent`的模板：
  +makeExample('attribute-directives/ts/app/app.component.ts',null,'app/app.component.ts')
  :marked
  