Managing libraries


#1

How do you manage libraries, e.g. installing firebase and adding it automatically to index.html? When I add install it via bower and the add the script tags in index.html:

<script src="lib/firebase/firebase-debug.js"></script>
<script scr="lib/angularfire/dist/angularfire.js"></script>

I get an error Module ‘firebase’ not found. Adding them through a CDN Url is working. So what kind of magic is going on here?

Regards,
Andi


#2

I know this thread is a bit old, but just in case someone finds this post like I did.

I used the following commands to install Firebase and AngularFire:

$ ionic add firebase
$ ionic add angularfire

The commands modified bower.json and installed the libs under www/lib/.
Hope this helps.

Chris