code: function bindEvent(element, eventName, callback) {
          // bind directly into browser (no passthrough angular nor JQLite)
          //if (element.bind) {
          //    element.bind(eventName, callback, false);
          //} else
          if (element.addEventListener) {
              element.addEventListener(eventName, callback, false);
              return {
                  destroy: function () {
                      element.removeEventListener(eventName, callback, false);
                  }
              };
          } else if (element.attachEvent) {
              element.attachEvent('on' + eventName, callback);
              return {
                  destroy: function () {
                      element.detachEvent('on' + eventName, callback);
                  }
              };
          } else {
              return false;
          }
      }
docs: /*
  function angularBindEvent(element, eventName, callback) {
  element.bind(eventName, callback, false);// go directly into JQLite
  angular.element(element[0]).bind(eventName, callback, false);// Go through angular.scenario.js (enable e2e tests)
  return {
  destroy: function() {
  element.unbind(eventName, callback, false);// go directly into JQLite
  angular.element(element[0]).unbind(eventName, callback, false);// Go through angular.scenario.js (enable e2e tests)
  }
  };
  }