Having an underscore template being invoked from an Angular controller, there is a dropdown in the template and an onchange function called on the dropdown. Despite several attempts to get the method triggered in the onchange event, using this code
<select onchange="foo(this.value)">
results in
foo is not defined
while
<select onchange="scope.foo(this.value)">
yields
scope is not defined
and
<select onchange="$scope.foo(this.value)">
returns
$scope is not defined
The question remains: Can a method be properly called on the controller using this approach?