I-m trying to create a custom directive, and bind it a specific div, however, I only can bind it to input, any way to bind it for divs?
link : function(scope, element, attrs) {
element.bind('input', function(e) {}); // works perfectly
element.bind('#myDiv', function(e) {}); //does not work!
}