ocombe / ocLazyLoad

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

ocLazyLoad a locally installed plugin with bower link #341

Closed mluis closed 8 years ago

mluis commented 8 years ago

In the dependencies of the project using ocLazyLoad I've added the plugin I'm developing and which is installed with bower link so I can code and load on refresh.

This is my ocLazyLoad object:

                    {
                        name: 'ngLivesense',
                        files: [
                            "bower_components/ngLivesense/dist/ng-livesense.js"
                        ],
                        cache: false
                    }

The issue is ng-livesense is using angular-websocket plugin but ocLazyLoad is yelling that ngWebsocket module isn't loaded.

Am I doing something wrong or is this a plugin issue?