What is the reasoning behind rejecting a promise with the error Error: no file to load has been found, if you're trying to load an existing module you should use the 'inject' method instead of 'load'." if the file or files are already loaded? Why did you choose not to resolve it?
Because it usually means that there is a problem with your code. If it's what you really want, you can add an error callback to your promise to catch the rejection.
What is the reasoning behind rejecting a promise with the error Error: no file to load has been found, if you're trying to load an existing module you should use the 'inject' method instead of 'load'." if the file or files are already loaded? Why did you choose not to resolve it?