You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello and at first thank you for this useful package.
When installing this lib using npm, it will not work because angularjs is installed as a module as well. For this reason, you should require it using var angular = require('angular') and not relying on the thing that the angular is a global object.
Usually the best way to deal with this is to have two files, one for package.json with module-style requiring and another one for bower.json
The text was updated successfully, but these errors were encountered:
The package is now updated with better support for module loading.
It's tested on both bower and npm loading with the current demo and the browserify boilerplate.
Hello and at first thank you for this useful package.
When installing this lib using npm, it will not work because angularjs is installed as a module as well. For this reason, you should require it using
var angular = require('angular')
and not relying on the thing that the angular is a global object.Usually the best way to deal with this is to have two files, one for
package.json
with module-style requiring and another one forbower.json
The text was updated successfully, but these errors were encountered: