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

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -