I believe you can use something like this:
angular.element(e).injector().get('serviceName')
And since angularjs services are singletons, doing this on any angular.element will always return the same service instance/object.
I believe you can use something like this:
angular.element(e).injector().get('serviceName')
And since angularjs services are singletons, doing this on any angular.element will always return the same service instance/object.