Angular Injectable decorator – Expected 0 arguments but got 1
This is a new feature in Angular 6. @Injectable({ providedIn: ‘root’ }) You have two options: Refer to the Angular 5 documentation. (As @r-richards notes – change the version of the docs to v5 in the dropdown at the bottom of the left nav.) Upgrade your project to Angular 6 to fix the issue Follow … Read more