anchor.diff:          [Immediately Invoked Function Expression (IIFE)](https://en.wikipedia.org/wiki/Immediately-invoked_function_expression).
           These practices together prevent our code from
           polluting the global scope.
  +        
  +        我们经常在`window`上附加一个应用程序命名空间对象（比如`"app"`），然后把所有需要共享的东西都附加到这个空间对象。
  +        也可以把我们的代码包装到一个[立即调用函数表达式IIFE](https://en.wikipedia.org/wiki/Immediately-invoked_function_expression)。
  +        使用这些实践可以防止我们的代码污染全局范围。
   
         +makeExample('cb-ts-to-js/js/app/hero.component.js', 'appexport')(format="." )
   
         :marked
           We can then access anything from this shared namespace in
           other files.
  +        
  +        然后我们就可以从这个共享的命名空间来访问其他文件。
   
         +makeExample('cb-ts-to-js/js/app/main.js', 'appimport')(format="." )
   
  
positive.code:     td
        :marked
          ### Importing and Exporting Application Code
  
          Each file in an Angular 2 TypeScript application constitutes a
          TypeScript module. When we want to make something from a module available
          to other modules, we `export` it.
  
        +makeExample('cb-ts-to-js/ts/app/hero.component.ts', 'appexport')(format="." )
  
        :marked
          In other modules we can then `import` things that have been exported
          elsewhere.
  
        +makeExample('cb-ts-to-js/ts/app/main.ts', 'appimport')(format="." )
  
      td
        :marked
          ### Sharing Application Code
  
          In an Angular 2 JavaScript application, we load each file to the page
          using a `<script>` tag. Each file can make things available to other
          files via the shared global `window` scope.
  
          We often introduce an application namespace
          object (such as `"app"`) onto `window` and attach everything we need
  
negative.code:       :marked
          ### Importing Angular 2 Code
  
          ### 导入Angular 2代码
  
          In TypeScript code, Angular 2 classes, functions, and other members
          are imported with TypeScript `import` statements:
          
          在TypeScript代码中，Angular 2是利用TypeScript的`import`声明来导入类、函数和其他成员的。
  
        +makeExample('cb-ts-to-js/ts/app/main.ts', 'ng2import')(format="." )
  
      td
        :marked
          ### Accessing Angular 2 Code through the ng global
          
          ### 通过全局ng来访问Angular 2代码
  
          In JavaScript code, when using
          [the Angular 2 packages](../glossary.html#!#scoped-package),
          we can access Angular code through the global `ng` object. In the
          nested members of this object we'll find everything we would import
          from `angular2` in TypeScript:
          
          在JavaScript代码中，当使用[Angular 2库](../glossary.html#!#scoped-package)时，
          我们可以通过全局的`ng`对象来访问Angular代码。在这个对象嵌套很多成员中，我们能找到所有在TypeScript里面导入的`angular2`
  
        +makeExample('cb-ts-to-js/js/app/main.js', 'ng2import')(format="." )
  
  