ocombe/ocLazyLoad — pull request #7 by rolandzwaga (2014-04-01 12:27:14+00:00)
Title: Added some improvements (hopefully)

Hi there,

I have made some small changes to ocLazyLoad.js that you might find helpful.
First of all, I've added a 'loadedModules' property to the config.
This is for scenario's where the angular application is started manually using angular.bootstrap(...), in that case your init() method won't find any ng-app annotations anywhere.
Furthermore, I found that if I lazy-load a .js file that contains multiple angular modules (such as ngGrid for example), only the main module was being registered. So, I've added a bit of code that takes care of it.