[Fixed] Angular Error observable.of is not a function

Issue

You are trying to import RxJS of operator incorrectly. The syntax has been changed in latest versions of RxJS

Solution

Change import statement to,

import 'rxjs/add/observable/of';

Leave a Reply

(*) Required, Your email will not be published