I am programming an AngularJS (with Material Angular) Application that communicates with an API (I am programming both, frontend and backend (API)). I am programming it with C# in Visual Studio. When I debug the Application, everything works perfectly fine. But when I deploy it to my IIS Server, the frontend (AngularJS) is not working.
The error in the console says unpr (unknown provider).
It does load my scripts. When I look into the script, everything looks fine and the same as when I debug it on localhost (with the little difference, that now everything is in one script but I think that should be like this. So why do I get this error? The scripts are being loaded, the code is the same as in localhost, etc.