javascript - Variable Ionic not found -
i 'ionic not found' error when trying run cordova app ionic. 'ionic' present in module dependencies , think include right files in de index.html:
lib/ionic/js/ionic.bundle.js lib/ngcordova/dist/ng-cordova.js cordova.js
i've been searching hours , don't know possibly cause problem. knows matter?
when inject ionic in controller's function, ionicprovider unknown error
the app definition:
angular.module('app', ['ionic', 'app.controllers', 'app.routes', 'app.services', 'app.directives'])
the controller:
angular.module('app.controllers', ['ngcordova']) .controller('flightdocumentsctrl', function ($scope, $cordovafiletransfer, $timeout, $cordovainappbrowser) {
ngcordova
must placed in app module that:
angular.module('app', ['ionic', 'app.controllers', 'app.routes', 'app.services', 'app.directives','ngcordova'])
cannot tell if more mistakes code have provided
Comments
Post a Comment