Is it possible to bind a non-angular event to a $scope-Function?
I have a DIV. In this DIV, I'm not allowed to bind the ngClick-Event and I should bind the "customclick"-Event. So I tried the following but obviously this executes the function on $apply rather than telling the framework to use the function as the eventhandler:
<div id="myCustomDiv" customclick="{{ setSelectedTab() }}">
...
</div>
Is this even possible or can $scope-Functions only bind to angular-Directives? I could do it in the controller with $(element).bind but I'd rather have this part in the view where it belongs.