【发布时间】:2014-08-04 08:24:40
【问题描述】:
我有这样的事情:
http://plnkr.co/edit/CoDdWWQz8jPPM4q1mhC5?p=preview
我想做的是在点击外面的某个地方后关闭弹出窗口。我知道有类似的问题,但我想知道如何在 Angular 中做到这一点。问题是,我的弹出框位于脚本标签内。
<script type="text/ng-template" id="templateId.html">
This is the content of the template {{name}}
</script>
【问题讨论】:
标签: angularjs twitter-bootstrap popover