I have an application that relies on Browserify. I am trying to add this module to my application but am having trouble. This is what my Package.JSON looks like:
I require the module in the AngularJS application using
require('angular-fullpage.js')
When I run the application I get:
Failed to instantiate module portal due to:
Error: [$injector:modulerr] Failed to instantiate module {} due to:
Error: [ng:areq] Argument 'module' is not a function, got Object
I have an application that relies on Browserify. I am trying to add this module to my application but am having trouble. This is what my Package.JSON looks like:
I require the module in the AngularJS application using
When I run the application I get:
Any ideas what is wrong with this?