Binding scope of function in handler config to component