0

I am trying to add in lazyload in module, by its showing error:

Error: [$injector:nomod] Module 'lazyLoad' is not available! 
You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies 
as the second argument.

my code is "angular.module('nouveau', ['lazyLoad'])"

even i have tried with "angular.module('nouveau', ['lazyload'])" after watching ocLazyload not loading the module not working!!!

"client/bower_components/angular-lazyload/src/angular-lazyload.js"

can any one help me???

Community
  • 1
  • 1
mammam
  • 129
  • 4
  • 17

1 Answers1

0

replace angular.module('nouveau', ['lazyLoad'])

in your code with

angular.module('nouveau', ['oc.lazyLoad'])

Hope it solves your issue. Cheers.. :)

seekers01
  • 560
  • 1
  • 4
  • 11
  • angular.module('nouveau', ['oc.lazyLoad']), replace angular.module('nouveau', ['lazyLoad']), both are different – mammam Jan 19 '17 at 09:45