Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49183

How to load js file on ionic

$
0
0

@vitaly87 wrote:

I am trying to use Firebase.getAsArray, I include it on my index.html:

  <script src="lib/firebase.js"></script>
    <script src="lib/firebase-as-array.min.js"></script>
     <!-- AngularFire -->
      <script src="lib/angularfire.min.js"></script>
       <script src="js/services.js"></script>

when I am trying to use it I get

ionic.bundle.js:26794 ReferenceError: getAsArray is not defined at Object. (http://localhost:8100/js/services.js:14:12)
I understand the I need to load this on ionic v1.7, Is any way to load it with ionic way?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>