improved .ep templates to make the current controller available as $c