This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
Popover directive doesn't fire ng-clicks from template in Safari #4438
Closed
Description
I have a popover using a template. Inside the template is a single element containing an ng-click that executes a function on the scope doing nothing but firing an alert. In other browsers, this works fine. In Safari 8.1 on El Capitan, nothing happens.
<button type="button" class="btn btn-default"
popover-placement="bottom"
popover-template="'template.html'">Click for Popover</button>
<script type="text/ng-template" id="template.html">
<a href="" ng-click="fireAlert()">Click for alert</a>
</script>
I'm using angular 1.4.5, and angular-ui-bootstrap 0.13.4.
The following plunk can be used to test: http://plnkr.co/edit/ZDdiKt1VvQVAwxwblwvW?p=preview