bindings/angular1/services/onsen.js
function(component, eventNames) {
          eventNames = eventNames.trim().split(/\s+/);

          for (var i = 0, l = eventNames.length; i < l; i++) {
            var eventName = eventNames[i];
            this._registerEventHandler(component, eventName);
          }
        }
function(component, eventNames) {
          eventNames = eventNames.trim().split(/\s+/);

          for (var i = 0, l = eventNames.length; i < l; i++) {
            var eventName = eventNames[i];
            this._registerEventHandler(component, eventName);
          }
        }
function ( component , eventNames ) { eventNames = eventNames . trim ( ) . split ( / \s+ / ) ; for ( var i = 0 , l = eventNames . length ; i < l ; i ++ ) { var eventName = eventNames [ i ] ; this . _registerEventHandler ( component , eventName ) ; } }
Register event handlers for attributes.

@param {Object} component
@param {String} eventNames
Register event handlers for attributes .