ocombe / ocLazyLoad

Lazy load modules & components in AngularJS
https://oclazyload.readme.io
MIT License
2.63k stars 510 forks source link

angular.js:14110Error: [jqLite:nosel] #368

Open s1lviu opened 7 years ago

s1lviu commented 7 years ago

Hi! I want to insert my scripts in page footer. I added <link id="ng_load_plugins_before"/> at the end of body (also tried with view) and I set up the insertBefore parameter to `insertBefore: '#ng_load_plugins_before', and I receive the error mentioned in issue title. In console, the specified selector is available via jQuery and I don't know why isn't working. Console output:

Angular version: 1.5.9 Regards!

kcampion commented 7 years ago

I solved this mistake by calling jQuery before Angular.