Handlers for list items in popover

How to assign a click handler for list items in popover?

      <h1 class="title">My Popover Title</h1>
      <div class="sub-topics-list">
          <h3 ng-click="postOnFb()">Facebook</h3>

Docs are really bad for the popover UI.

1 Like

Ok, the quick response is to use the popover shown event ($scope.$on('popover.shown', function(){...}) and then jquery inside the function (better than jQlite) in order to bind events to DOM elements, change styles, and so.

Ok 2. In addition, you can take a look to $scope inside a popover in unreachable!, which provides another (better in some ways) solution.