I'm trying to read through the code here:
http://jsbin.com/wecisumumu/1/edit?html,js,output
However, this calls
angular.extend(wrap, $delegate);
where wrap
and $delegate
are two functions. The angular docs say that extend is called on two objects. What does it mean to call it on two functions?