angucomplete
angucomplete copied to clipboard
ngroute
Tried integrating with ngRoute and kept getting Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.3.2/$injector/modulerr?p0=sLibrary&p1=Error%3ogleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.3.2%2Fangular.min.js%3A17%3A381)
I have no idea why this is caused. Just adding angucomplete to my modules, cause all errors, removing it will make my app function normally. var app = angular.module('sLibrary',['ngRoute', 'angularUtils.directives.dirPagination', "angucomplete"]);
any ideas?
Looks like you forgot to load some module file(s).
Are you loading angucomplete.js
, angular-route.min.js
and dirPagination.js
?
All these module files were included.
I rebuild your scenario in a Plunker and everything works fine. Could you post your index.html? (or the file, in wich you load the angular modules)