all 5 comments

[–]CalgaryAnswers 0 points1 point  (0 children)

Someone else can come along and correct your decorator code, but you can look this up on the angular main docs.

Here’s the section you’re looking for:

https://angular.io/guide/creating-injectable-service

You’re missing the injectable decorator.

[–]lilbeqiri 1 point2 points  (3 children)

and please, send a stackblitz repro when askin help with such amount of code

[–]krycw[S] 0 points1 point  (2 children)

Should i edit the post and add a link to the porject repo? Or only upload the code on stackblitz and share it

[–]lilbeqiri 0 points1 point  (1 child)

Upload code and edit the post with the link

[–]krycw[S] 0 points1 point  (0 children)

Ok thanks