angucomplete icon indicating copy to clipboard operation
angucomplete copied to clipboard

ngroute

Open joeSaad opened this issue 10 years ago • 3 comments

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?

joeSaad avatar Dec 17 '14 21:12 joeSaad

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

R4c00n avatar Dec 18 '14 06:12 R4c00n

All these module files were included.

joeSaad avatar Dec 18 '14 19:12 joeSaad

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)

R4c00n avatar Dec 19 '14 06:12 R4c00n