I have an Angular 1.4.9 app. I'm using a third party JS plugin (Jasny Bootstrap). It has some JS components, which appear to use simple JQuery.
Their docs say that the plugin emits events at key points, such as "itemShown". I was wondering if I can detect this in my page's controller and act upon it, as in:
"on itemShown function () {..."
Handling Custom jQuery Events in AngularJS
The following example shows a custom directive that detects a custom jQuery events and invokes a function defined by an attribute.
To use the directive in your HTML:
I recommend that the event object be exposed as
$eventsince that is customary with AngularJS event directives.-- AngularJS Developer Guide -- $event