anchor.diff:    :marked
       **Do** use @HostListener and @HostBinding instead of the host property of the @Directive and @Component decorators:
       
  -    **坚持** 使用@HostListener和@HostBinding，而非@Directive和@Component装饰器的宿主属性。
  +    **坚持**使用@HostListener和@HostBinding，而非@Directive和@Component装饰器的宿主属性。
   
   .s-why
     :marked
       **Why?** The property or method name associated with @HostBinding or respectively @HostListener should be modified only in a single place - in the directive's class. In contrast if we use host we need to modify both the property declaration inside the controller, and the metadata associated to the directive.
       
  -    **为何？** 与属性或方法名字相关联的@HostBinding或者@HostListener应该只在一个地方被修改：在指令的类里。反过来，如果我们使用宿主属性，我们需要在控制器内修改属性声明，然后在指令相关的元数据里修改。
  +    **为何？**与属性或方法名字相关联的@HostBinding或者@HostListener应该只在一个地方被修改：在指令的类里。反过来，如果我们使用宿主属性，我们需要在控制器内修改属性声明，然后在指令相关的元数据里修改。
   
   .s-why.s-why-last
     :marked
       **Why?** The metadata declaration attached to the directive is shorter and thus more readable.
       
  -    **为何？** 指令附带的元数据声明会简短一些，易于阅读。
  +    **为何？**指令附带的元数据声明会简短一些，易于阅读。
   
   +makeExample('style-guide/ts/06-03/app/shared/validate.directive.avoid.ts', 'example', 'app/shared/validate.directive.ts')(avoid=1)
   :marked
  
positive.code:   :marked
      **Do** put bootstrapping and platform logic for the app in a file named `main.ts`.
      
      **坚持** 把应用的引导程序和平台逻辑放到名字为`main.ts`的文件里。
  
  .s-rule.avoid
    :marked
      **Avoid** putting app logic in the `main.ts`. Instead consider placing it in a Component or Service.
      
      **避免** 把应用逻辑放到`main.ts`里。考虑把它放到组件或服务里面。
  
  .s-why
    :marked
      **Why?** Follows a consistent convention for the startup logic of an app.
      
      **为何？** 遵循前后一致的公约来处理应用的启动逻辑。
  
  .s-why.s-why-last
    :marked
      **Why?** Follows a familiar convention from other technology platforms.
      
      **为何？** 从其他技术平台借鉴一个熟悉的公约。
  
  a(href="#toc") Back to top
  
  
negative.code: .l-main-section
  :marked
    ### Flat
    ### 平面化
    <a id="04-04"></a>
    #### Style 04-04
    #### 风格04-04
  