我想使用一个简单的谷歌地图嵌入,利用角度绑定使地图更具动态。所以而不是以下
<iframe width="425" height="350" frameborder="0" scrolling="no"
marginheight="0" marginwidth="0" src="https://maps.google.com/maps?
f=q&source=s_q&hl=en&geocode=&q=180+N+500+E,+Salt+Lake+City,+UT
&output=embed"></iframe>
我希望在src属性中添加绑定
<iframe width="425" height="350" frameborder="0" scrolling="no"
marginheight="0" marginwidth="0" src="https://maps.google.com/maps?
f=q&source=s_q&hl=en&geocode=&q={{event.address}},+{{event.city}},+{{event.state}}
&output=embed"></iframe>
当我这样做时,我在控制台中收到此错误
错误:
$ interpolate:noconcat多个表达式
我不确定这意味着什么。