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

Simple Question about Third-Party JS Libs

$
0
0

@LukeUSMC wrote:

I am new to all of this but am learning as much as I can on my own but need a little bit of help. I have this JS lib ( https://github.com/spark/particle-api-js ) I have added to my project using bower and know I need to write an Angular module to inject into my app but what I cannot figure out is how do I know what to call it when I inject it. Given the below from my app.js which is from the IonicMaterialDesign starter app/template.

angular.module('starter', ['ionic','ngIOS9UIWebViewPatch', 'starter.controllers', 'starter.services', 'ngMaterial', 'ngMessages', 'ngCordova'])
    .run(function ($ionicPlatform, $cordovaSQLite, $rootScope, $ionicHistory, $state, $mdDialog, $mdBottomSheet) {

Any pointers, tutorials or documentation that would explain this would be awesome...or just the correct answer is great too. Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49164

Trending Articles



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