I am trying to connect angularJS with another Java script framework - UI5. Scenario: I have a custom angular tag in my UI5 application. Change in UI5 must trigger the angularJS controller.
I am not getting how to keep the $apply/ $watch/ $broadcast outside of the controller/ directive and still communicate with rootScope.
I am looking for a basic code snippet to understand how to bridge two different java script frameworks.