codeforokc / school-finder

Geolocation-based web app for locating schools and school districts near you
MIT License
18 stars 17 forks source link

Move map generation into a service #35

Closed joekarl closed 9 years ago

joekarl commented 9 years ago

Need to have the map generation moved into an angular service/factory (not sure which) so it can be injected into the main controller for manipulation based on $scope changes.

DevinClark commented 9 years ago

I use https://github.com/tombatossals/angular-leaflet-directive It handles all the two way data binding and gives a nice clean interface into Leaflet.