[solved]Dont understand why this is not working, help me pls

index.html
`

` template/sidemenu.html ` menu 1 menu 2 menu 3 ` template/acceuil.html `

Acceuil

` app.js `var app = angular.module('ionicApp', ['ionic']) app.config(function($stateProvider,$urlRouterProvider){ $urlRouterProvider.otherwise("/acceuil") $stateProvider.state(acceuil,{ url(/acceuil), views{ acceuil:{ templateUrl:'template/acceuil.html' } } }) $stateProvider.state(sidemenu,{ url(/sidemenu), views{ acceuil:{ templateUrl:'template/sidemenu.html' } } })` it show me : Uncaught Error: [$injector:modulerr] Failed to instantiate module ionicApp due to: Error: [$injector:nomod] Module 'ionicApp' 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.

are you sure the JS is loaded?

place an

alert("yow");

in app.js and see if there’s an alert :wink:

hi thank u for fast answering , but this not help , i got the same error

But did you got the alert or not?

so alter to

alert("alive");
var app = angular.module('ionicApp', ['ionic'])

if the JS was loaded in the browser … you should get an alert … if not … then the JS was not loaded … so then you must find out why not

yes i get the alert , seems that i miss : }) in the end of app.js
now my console show any error , but the slidemenu.html dont show , any idea pls ?