I'm using angular-google-maps to handle google maps at an angular application. For this, I have to add the angular-google-maps.js
to the project.
The page works without any error, if I add the script in the following way:
<script type="text/javascript"
src="http://www.directiv.es/application/html/js/nlaplante/angular-google-maps/angular-google-maps.js"></script>
But it will not work, if I use the local copy, like this:
<script type="text/javascript"
src="js/libs/directiv.es/angular-google-maps.js"></script>
Looking at firebug, I see the angular-google-maps.js
file is loaded, but in this case, the following error occurs:
Uncaught Error: [$injector:modulerr] Failed to instantiate module mapsApp due to:
Error: [$injector:modulerr] Failed to instantiate module google-maps due to:
Error: [$injector:nomod] Module 'google-maps' is not available! You either misspelled the...<omitted>...1)
Searching the web for hours I did not find any reason or solution. Maybe you have an idea or hint, how to find the reason?