angular2 is: (click) = "selectClass (classItem)", and classItem is a property in the current component, which is fine, but now you need to use native click events such as: onclick= "routerTo ()". How to pass the properties of the current component to this function?