I\'m trying to inject ActivatedRoute component into my component to access the ID of the object I\'m editing (or to find out, there\'s no ID param, new object is created).>
Remove providers: [ActivatedRoute] from @Component() there is no need for that. RouterModule.forRoot() already provides everything that is required.
providers: [ActivatedRoute]
@Component()
RouterModule.forRoot()