so I'm trying to uderstand where's the error in my code, when I access /dashboard it just loads the template of the first route 'root', which is SYSTEM_VARS.includes.general.root but loads the console.log inside the resolve of state root.dashboard.home
I have the ui-view directive added in index.html
Please check my routes.js file
The console logging the console.logs of the routes:
State ROOT: Resolve root
Current State: DASHBOARD
Current State: DASHBOARD.HOME
the content of /dashboard state template is just an <h1>DASHBOARD HOME</h1> for tests
Short: the /dashboard state aren't loading the template and controller
configured.
app.js
. I don't see you declaring your app as an Angular app - you don't haveng-app="yourApp"
in yourindex.html
.