title: How to add providers in angular2 jasmine testing spec since addProvider is deprecated in RC6?
body: <p>I am trying to write my <code>beforeEach</code> like this so that every <code>it</code> gets the required modules / providers:</p>
  
  <pre><code>beforeEach(() =&gt; addProviders([
          BaseRequestOptions,
          MockBackend,
          {
              provide: Http,
              useFactory: (backend: MockBackend, options: BaseRequestOptions) =&gt; new Http(backend, options),
              deps: [MockBackend, BaseRequestOptions]
          },
          MyService
      ]));
  </code></pre>
  
  <p>But since <code>addProviders</code> method is deprecated in RC6, what is a better alternative to add my providers?</p>