Uncaught (in promise): NullInjectorError: StaticInjectorError[t code example

Example: ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError[t -> t]: StaticInjectorError(Platform: core)[t -> t]

Angular CLI: 6.0.8
Node: 10.2.1
OS: linux x64
Angular: 6.0.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

- 0.6.8, .6.8, .6.8, .6.8, -0.6.8, @angular/cdk -6.2.1, @angular/cli -6.0.8, @angular/material - 6.2.1, - 6.0.8, .6.8, - 0.6.8 , rxjs-6.2.1, typescript -2.7.2, webpack -4.8.3

Tags:

Misc Example