title: Hooking into bootstrap modal close event
body: <p>I am using AngularJS (and can't use the Angular Bootstrap Modal) and am trying to hook into the hidden event for when my modal is closed.</p>
  
  <pre><code>angular.element('#myModal').on('hidden.bs.modal', function (e) {
    console.log('closed');
  });
  </code></pre>
  
  <p>I cannot get this function to run.  I noticed that in the <code>angular.element</code> docs it says <code>on()</code> - Does not support namespaces, selectors or eventData.</p>
  
  <p>Any help is appreciated!</p>