Hello,
I have a weird issue.. I have an app and I want to include firebase. So I
installed Firebase with Bower, included it in index.html and added the
dependency "firebase" to my angular.module but I still get the error.
I have this
in index.html:
<script src="bower_components/firebase/firebase.js"></script>
in /app/scripts/app.js:
angular.module("iShareApp", ["ngRoute","firebase"])
When I load the page I get this error
Error: [$injector:modulerr] Failed to instantiate module iShareApp due to:
[$injector:modulerr] Failed to instantiate module firebase due to:
[$injector:nomod] Module 'firebase' is not available! You either misspelled
the module name or forgot to load it. If registering a module ensure that
you specify the dependencies as the second argument.
In FireBug Net tab I see:
http://ishare.local/bower_components/firebase/firebase.js
So firebug library is loaded and the respons shows the minified file.
What could be the issue here????
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.