Uncaught Error loading ionTabs


#1

I started a “blank” project and now I’m trying to use ionTabs

I’ve tried using module(['ionic','ionTabs']) but I get the errors

Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to:
Error: [$injector:modulerr] Failed to instantiate module ionTabs due to:
Error: [$injector:nomod] Module ‘ionTabs’ is not available! You either misspelled the module na……1)

How do I implement using from a blank starter app project?


#2

excluding ‘ionTabs’ in the module code gives me

Error: [$compile:ctreq] Controller ‘ionTabs’, required by directive ‘ionTabNav’, can’t be found!
http://errors.angularjs.org/1.2.17/$compile/ctreq?p0=ionTabs&p1=ionTabNav
at http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:7942:12
at getControllers (http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:14300:19)
at http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:14308:24
at Array.forEach (native)
at forEach (http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:8184:11)
at getControllers (http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:14307:11)
at nodeLinkFn (http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:14472:35)
at compositeLinkFn (http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:13875:15)
at publicLinkFn (http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:13780:30)
at link (http://192.168.0.2:8100/lib/ionic/js/ionic.bundle.js:43005:61)


#3

Apparently this post solves the issue.