You encountered the following error while working with Angular 8.
Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function.
Which of the following can be considered as valid reasons for the same?
1. You have set a provider’s use factory to an anonymous function.
2. You have set a provider’s use factory to an arrow function.
- Only 1
- Only 2
- Both 1,2
- None of these