Question · Angular course · Module 5: Services and DI
InjectionToken
What is InjectionToken used for in Angular?
Answer options
- For authenticating users
- For injecting non-class values (e.g. strings, objects)
- For encrypting data
- For creating components
You can check the correct answer by solving this task in the CodeWorlds game.