Showing posts with label bower dependencies. Show all posts
Showing posts with label bower dependencies. Show all posts

Friday, May 23, 2014

angular module ui.router error

When you have an error as below in the console for Module ui.router is not available

Error: [$injector:modulerr] Failed to instantiate module ui.router due to: Error: [$injector:nomod] Module 'ui.router' is not available! You either misspelled th......1)

1) Add the following ui module dependencies in bower.json
"dependencies": { "angular": "1.2.15", "angular-ui-router": "~0.2.10", "angular-ui-bootstrap-bower": "~0.11.0",

and then,

2) C:\Users\dsunders\testShare>bower install