angular-ui / ui-leaflet

AngularJS directive to embed an interact with maps managed by Leaflet library
http://angular-ui.github.io/ui-leaflet
Other
315 stars 137 forks source link

Usage with browserify and NPM? #29

Open nmccready opened 8 years ago

nmccready commented 8 years ago

From @wobblydeveloper on July 4, 2014 20:4

I see this is an NPM module. I can't seem to figure out how to include it using browserify. Including it like so after the usual npm install --save angular-leaflet-directive....

var angular_leaflet_directive = require('angular-leaflet-directive');

... fails with...

Cannot find module 'angular-leaflet-directive'

Copied from original issue: tombatossals/angular-leaflet-directive#412

nmccready commented 8 years ago

From @Elzair on July 5, 2014 22:23

I just submitted a pull request to resolve this issue.