Template Reference and Event Binding