i cant figure out what is the problem
div#wrapper(ng-app="adminApp")
....
js/
var adminApp = angular.module('adminApp', ['ui-router']);
if i use
var adminApp = angular.module('adminApp', []);
the error disappear
why is that?
UPDATE:
adding image from console
the module name is ui-router
but you need to inject ui.router
and not ui-router
var adminApp = angular.module('adminApp', ['ui.router']);
check out PLUNKER LINK
It's a little late, but maybe it will save someone's time. In my case I've mixed up links: instead of angular-ui-router.min.js
I've downloaded angular-route.min.js
. Obviously angular-ui-router is necessary for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With