dist/ngHandsontable.js
function(settings, scope) {
        var
          scopeOptions = angular.extend({}, scope),
          htHooks, i, length, attribute;

        settings = settings || {};
        angular.extend(scopeOptions, scope.settings || {});
        htHooks = this.getAvailableHooks();

        for (i = 0, length = htHooks.length; i < length; i++) {
          attribute = 'on' + ucFirst(htHooks[i]);

          if (typeof scopeOptions[htHooks[i]] === 'function' || typeof scopeOptions[attribute] === 'function') {
            settings[htHooks[i]] = scopeOptions[htHooks[i]] || scopeOptions[attribute];
          }
        }

        return settings;
      }
function(settings, scope) {
        var
          scopeOptions = angular.extend({}, scope),
          htHooks, i, length, attribute;

        settings = settings || {};
        angular.extend(scopeOptions, scope.settings || {});
        htHooks = this.getAvailableHooks();

        for (i = 0, length = htHooks.length; i < length; i++) {
          attribute = 'on' + ucFirst(htHooks[i]);

          if (typeof scopeOptions[htHooks[i]] === 'function' || typeof scopeOptions[attribute] === 'function') {
            settings[htHooks[i]] = scopeOptions[htHooks[i]] || scopeOptions[attribute];
          }
        }

        return settings;
      }
function ( settings , scope ) { var scopeOptions = angular . extend ( { } , scope ) , htHooks , i , length , attribute ; settings = settings || { } ; angular . extend ( scopeOptions , scope . settings || { } ) ; htHooks = this . getAvailableHooks ( ) ; for ( i = 0 , length = htHooks . length ; i < length ; i ++ ) { attribute = 'on' + ucFirst ( htHooks [ i ] ) ; if ( typeof scopeOptions [ htHooks [ i ] ] === 'function' || typeof scopeOptions [ attribute ] === 'function' ) { settings [ htHooks [ i ] ] = scopeOptions [ htHooks [ i ] ] || scopeOptions [ attribute ] ; } } return settings ; }
Merge original handsontable hooks with hooks defined in scope.

@param {Object} settings
@param {Object} scope
@returns {Object}
Merge original handsontable hooks with hooks defined in scope .