Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs 内有按钮的传单标记器_Angularjs_Ionic Framework_Ionic2_Leaflet_Angular Leaflet Directive - Fatal编程技术网

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实现这一点