grantharris / leaflet-popup-angular Goto Github PK
View Code? Open in Web Editor NEWUse AngularJS in your Leaflet popups. Extends the built-in L.popup.
License: MIT License
Use AngularJS in your Leaflet popups. Extends the built-in L.popup.
License: MIT License
Hi all! I noticed that the demo has some problems in https:
https://grantharris.github.io/leaflet-popup-angular/examples/examples.html
Are you aware of that? :) Thank you so much!
Any idea on when the templateUrl feature will be added? I'd like to try this plugin out on a project.
Hi,
This is a great extension of the Leaflet popup class and has saved me a lot of trouble. Would love to see it ready for Bower, and with a little more documentation.
Would be great if the template could directly reference data available in the controller it is being created within instead of having the isolated scope it seems to have (requiring a controller or passing in data via setContent).
Thanks,
Matt
Getting
Uncaught TypeError: Cannot read property 'get' of undefined
on
var $rootScope = $injector.get('$rootScope'),
$compile = $injector.get('$compile'),
$controller = $injector.get('$controller');
when ng-app
is set on a child of <html>
(such as <body>
).
angular.element('[ng-app]').injector()
should fix the issue.
does this plugin works with angular not angular JS?
Is this available for angular 2 ? or can it be used with angular 2?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.