title: How to create single global import file for references in angular 2?
body: <p>I am looking for creating a global import file instead of importing the same libraries in each component (same import in each component).</p>
  
  <p>I have seen index.ts file <a href="http://jasonwatmore.com/post/2016/09/29/angular-2-user-registration-and-login-example-tutorial#projectstructure" rel="nofollow noreferrer">here</a> which includes the import references of file like component and service. but i am looking for a solution by which i can import following references in one file and then i must be able to import single file to my components instead of all the following references.</p>
  
  <pre><code>// Observable class extensions
  export * from 'rxjs/add/observable/of';
  
  // Observable operators
  export * from 'rxjs/add/operator/catch';
  export * from 'rxjs/add/operator/debounceTime';
  export * from 'rxjs/add/operator/distinctUntilChanged';
  
  export { Component, OnInit } from '@angular/core';
  export { Http, Response, Headers } from '@angular/http';
  export * from 'rxjs/add/operator/map';
  </code></pre>
  
  <p>Please help, i am new in angular 2 and could not find any help in this regard.</p>