darylrowland / angucomplete

AngularJS Autocomplete Directive
510 stars 281 forks source link

ngroute #80

Open joeSaad opened 9 years ago

joeSaad commented 9 years ago

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?

R4c00n commented 9 years ago

Looks like you forgot to load some module file(s). Are you loading angucomplete.js, angular-route.min.js and dirPagination.js?

joeSaad commented 9 years ago

All these module files were included.

R4c00n commented 9 years ago

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)