diff --git a/aio/content/examples/toh-pt4/src/app/hero.service.ts b/aio/content/examples/toh-pt4/src/app/hero.service.ts index 4129689f5e..b7b2d15068 100644 --- a/aio/content/examples/toh-pt4/src/app/hero.service.ts +++ b/aio/content/examples/toh-pt4/src/app/hero.service.ts @@ -3,7 +3,7 @@ import { Injectable } from '@angular/core'; // #docregion import-observable -import { Observable } from 'rxjs/Rx'; +import { Observable } from 'rxjs/Observable'; import { of } from 'rxjs/observable/of'; // #enddocregion import-observable diff --git a/aio/content/examples/toh-pt5/src/app/hero.service.ts b/aio/content/examples/toh-pt5/src/app/hero.service.ts index 2bde8cc06a..71f8571983 100644 --- a/aio/content/examples/toh-pt5/src/app/hero.service.ts +++ b/aio/content/examples/toh-pt5/src/app/hero.service.ts @@ -1,6 +1,6 @@ import { Injectable } from '@angular/core'; -import { Observable } from 'rxjs/Rx'; +import { Observable } from 'rxjs/Observable'; import { of } from 'rxjs/observable/of'; import { Hero } from './hero'; diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/phone/phone.service.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/phone/phone.service.ts index c4673475fb..bc06b84a37 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/phone/phone.service.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/core/phone/phone.service.ts @@ -1,7 +1,7 @@ // #docregion import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; -import { Observable } from 'rxjs/Rx'; +import { Observable } from 'rxjs/Observable'; // #docregion downgrade-injectable declare var angular: angular.IAngularStatic; diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-detail/phone-detail.component.spec.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-detail/phone-detail.component.spec.ts index e3b9143a94..32539d6020 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-detail/phone-detail.component.spec.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-detail/phone-detail.component.spec.ts @@ -3,7 +3,7 @@ import { ActivatedRoute } from '@angular/router'; // #enddocregion activatedroute -import { Observable } from 'rxjs/Rx'; +import { Observable } from 'rxjs/Observable'; import { async, TestBed } from '@angular/core/testing'; diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-list/phone-list.component.spec.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-list/phone-list.component.spec.ts index 2bb9d2b62f..b4f56a128e 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-list/phone-list.component.spec.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/app/phone-list/phone-list.component.spec.ts @@ -2,7 +2,7 @@ // #docregion import { NO_ERRORS_SCHEMA } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; -import { Observable } from 'rxjs/Rx'; +import { Observable } from 'rxjs/Observable'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SpyLocation } from '@angular/common/testing'; diff --git a/aio/content/examples/upgrade-phonecat-3-final/app/core/phone/phone.service.ts b/aio/content/examples/upgrade-phonecat-3-final/app/core/phone/phone.service.ts index 83a837afb7..99d8c38a87 100644 --- a/aio/content/examples/upgrade-phonecat-3-final/app/core/phone/phone.service.ts +++ b/aio/content/examples/upgrade-phonecat-3-final/app/core/phone/phone.service.ts @@ -1,7 +1,7 @@ // #docregion import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; -import { Observable } from 'rxjs/Rx'; +import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/map'; diff --git a/aio/content/examples/upgrade-phonecat-3-final/app/phone-detail/phone-detail.component.spec.ts b/aio/content/examples/upgrade-phonecat-3-final/app/phone-detail/phone-detail.component.spec.ts index e3b9143a94..32539d6020 100644 --- a/aio/content/examples/upgrade-phonecat-3-final/app/phone-detail/phone-detail.component.spec.ts +++ b/aio/content/examples/upgrade-phonecat-3-final/app/phone-detail/phone-detail.component.spec.ts @@ -3,7 +3,7 @@ import { ActivatedRoute } from '@angular/router'; // #enddocregion activatedroute -import { Observable } from 'rxjs/Rx'; +import { Observable } from 'rxjs/Observable'; import { async, TestBed } from '@angular/core/testing'; diff --git a/aio/content/examples/upgrade-phonecat-3-final/app/phone-list/phone-list.component.spec.ts b/aio/content/examples/upgrade-phonecat-3-final/app/phone-list/phone-list.component.spec.ts index 834c93df8f..a953228318 100644 --- a/aio/content/examples/upgrade-phonecat-3-final/app/phone-list/phone-list.component.spec.ts +++ b/aio/content/examples/upgrade-phonecat-3-final/app/phone-list/phone-list.component.spec.ts @@ -2,7 +2,7 @@ // #docregion routestuff import { NO_ERRORS_SCHEMA } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; -import { Observable } from 'rxjs/Rx'; +import { Observable } from 'rxjs/Observable'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SpyLocation } from '@angular/common/testing';