As a beginner in Angular, I'm struggling to pinpoint the error in my code and understand why I'm encountering this issue.
The error message reads: "Can't resolve all parameters for TemlComponent: (?). at syntaxError (compiler.js:1016)."
To assist in troubleshooting, I've provided a fully functional example here with all the necessary files.
It's likely that my code contains redundant items and methods that were created in an attempt to solve the problem. I noticed that removing all parameters from the constructor in teml.component.ts eliminates the error.
Any guidance on what I might have done incorrectly would be greatly appreciated.