controller - bug fix

$ele wasn't being passed into the template function for
init/complete/depart