Angularjs 内有按钮的传单标记器
我将按以下方式在地图上添加一组标记:Angularjs 内有按钮的传单标记器,angularjs,ionic-framework,ionic2,leaflet,angular-leaflet-directive,Angularjs,Ionic Framework,Ionic2,Leaflet,Angular Leaflet Directive,我将按以下方式在地图上添加一组标记: L.marker({ lat: this.latitude, lng: this.longitude }, { icon: myIcon }) .bindPopup("<h1>" + this.name + "</h1><p>" + this.desc + "</p><button (click)=\"showMore(" + this.id + ")\">Show more</b
L.marker({ lat: this.latitude, lng: this.longitude }, { icon: myIcon })
.bindPopup("<h1>" + this.name + "</h1><p>" + this.desc +
"</p><button (click)=\"showMore(" + this.id +
")\">Show more</button>")
L.marker({lat:this.latitude,lng:this.longitude},{icon:myIcon})
.bindpoop(“+this.name+”“+this.desc+
“显示更多信息”)
但是HTML代码似乎不是由Angular编译的
既然$compile已经不存在了,我如何使用Ionic 2实现这一点