Added support for click, one way and two way binding