I’m trying to follow the ionic guide but when starting the sample app the left menu is not working, nothing happens when dragging the main view.
I’ve tested on browser, emulator (via genymotion) and on a nexus 7.
In the firefox console I see these lines:
Error: [$injector:modulerr] Failed to instantiate module todo due to:
[$injector:modulerr] Failed to instantiate module ionic due to:
[$injector:modulerr] Failed to instantiate module ionic.service due to:
[$injector:modulerr] Failed to instantiate module ionic.service.view due to:
[$injector:modulerr] Failed to instantiate module ui.router due to:
[$injector:nomod] Module 'ui.router' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.2.7/$injector/nomod?p0=ui.router
minErr/<@http://localhost:8000/js/angular/angular.js:78
module/<@http://localhost:8000/js/angular/angular.js:1530
ensure@http://localhost:8000/js/angular/angular.js:1453
module@http://localhost:8000/js/angular/angular.js:1526
loadModules/<@http://localhost:8000/js/angular/angular.js:3616
forEach@http://localhost:8000/js/angular/angular.js:302
loadModules@http://localhost:8000/js/
I’m pretty new to ionic and angular, so sorry if this is trivial …can you help me?
Thanks!
Thanks, that did it!
However following the guide I hit another problem. I’m trying the modal stuff, after adding buttons to the header bar and modifying the controller as indicated in the “Creating tasks” part of the guide here, Firefox console shows: